Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [aperi-dev] R2 Install question


hi Martin,  
Looks like you are getting the error on this line of code:
        File sqlDir = new File(path);
      if (!sqlDir.isDirectory() || !sqlDir.canRead())
      {
         throw new GeneralException("No valid sql directory");
      }
The database has been created and its looking to load the tables into the new db instance.  When you look at your install directory, do you have a db\schema directory?  If so, what files do you have there?  You should have AlterVersionXXX.sql files.  The error indicates that the directory is either not there or the directory is unreadable.  Let me know your thoughts and we can proceed from here.  

Todd Singleton
Software Engineer, Tivoli, IBM
Bldg. 50, A152
5600 Cottle Road
San Jose, CA
email: toddsing@xxxxxxxxxx



Poster <subscribe@xxxxxxxxxxxxxxx>
Sent by: aperi-dev-bounces@xxxxxxxxxxx

05/04/2007 12:11 PM

Please respond to
subscribe@xxxxxxxxxxxxxxx; Please respond to
Aperi Development <aperi-dev@xxxxxxxxxxx>

To
aperi-dev@xxxxxxxxxxx
cc
Subject
[aperi-dev] R2 Install question





Hi there chaps,

I have a question regarding installation of Aperri (not dev|) but not
really sure where to post it.

I downloaded and installed the various Aperri components (including
pathcing the required files into the respective folders) and got the
following Java exception when trying to run the configure script (not
using the -easy notion)

 org.eclipse.aperi.common.GeneralException: GEN1034I

the full console output is shown at the bottom. Note i was opting to use
Apache derby (not db2) but i notice that some derby files (eg berb.bat)
are put into the ../db/ folder (not sure why?)

I am running on WinXP.

Thanks in advance for the help.
Cheers
Martin

Configuring the agent...
../agent/configuration/setup.properties
../agent/configuration/agent.config
../agent/agent.bat
Configuring derby...
../db/derby.bat
../db/derbystop.bat
../db/aperi-schema.bat
../db/aperi-ij.bat
Configuring the device server...
devsvr/configuration/setup.properties
devsvr/configuration/tsnmdbparms.properties
../devsvr/devsvr.bat
Configuring the data server...
datasvr/configuration/server.config
../datasvr/datasvr.bat
Configuring the gui...
../gui/gui.bat
Generating start script...
../aperi.bat
Generating GUID for this host...
GUID is 7d8b156f-16f9-437c-b1c5-546af30ca6b6
Storing in D:\Aperi SMI-S configurator\Aperi_R0.2_Binary\aperi\guid.txt

Next, the Derby RDBMS will be started
and the Aperi schema created.
.
Now the schema will be loaded.
Running .\aperi-schema.bat
----
  DEBUG SDI calling analyzeParameters
  DEBUG SDI thats it for now
  DEBUG SDI doInstall begin
  DEBUG SDI doInstall 1 calling doRepositorySpace
  DEBUG SDI doInstall 1.5 CREATE SCHEMA Aperi
  DEBUG SDI doInstall 1.5 SET SCHEMA=Aperi
  DEBUG SDI doInstall 2 1
  DEBUG SDI doInstall 14
  DEBUG SDI doInstall 15
  Database installation successful.
  org.eclipse.aperi.common.GeneralException: GEN1034I
       at
org.eclipse.aperi.install.AlterFileList.getFiles(AlterFileList.java:47)
       at
org.eclipse.aperi.install.SilentDatabaseInstall.createTables(SilentDatabaseInstall.java:729)
       at
org.eclipse.aperi.install.SilentDatabaseInstall.doInstall(SilentDatabaseInstall.java:717)
       at
org.eclipse.aperi.install.SilentDatabaseInstall.main(SilentDatabaseInstall.java:975)
----
The output above should indicate that the schema was created
successfully on your system. If there was an error,
Aperi will not function correctly. Consult the installation
documentation for more information.

Shutting Derby down.

To bring up the Aperi server and agent, run aperi.bat
To start the GUI, run gui/gui.bat
Aperi configuration is complete.

D:\Aperi SMI-S configurator\Aperi_R0.2_Binary\aperi\configure>

_______________________________________________
aperi-dev mailing list
aperi-dev@xxxxxxxxxxx
https://dev.eclipse.org/mailman/listinfo/aperi-dev


Back to the top