Newbie Setup problem: Invalid trackstudio.uploadDir paramete

Discuss problems installing or using TrackStudio.

Newbie Setup problem: Invalid trackstudio.uploadDir paramete

Postby dscomeau2 » Wed Apr 16, 2003 6:20 am

Hi,

I am trying to evaluate out TrackStudio for possible purchase, but I can't get setup. I am having this problem when I try to enter the system:

Code: Select all
gran.exception.GranException: Invalid trackstudio.uploadDir parameter or can't access directory:General TrackStudio error
   at gran.app.Config.checkCommandLineParametres(Config.java:267)
   at gran.app.AppClass.init(AppClass.java:63)
   at org.apache.jsp.Index_jsp._jspService(Index_jsp.java:131)




I've tried lots of different things.

Here are my current settings:

Code: Select all
trackstudioHome C:\Tomcat4.0.6\webapps\TrackStudio\WEB-INF\
# I've also tried not defining trackstudioHome and also:
# trackstudioHome C:\Tomcat4.0.6\webapps\TrackStudio\
# trackstudioHome C:\Tomcat4.0.6\webapps\TrackStudio



# Upload directory. Should be exists and accessible

trackstudio.uploadDir uploads



Both of these directories exist:

C:\Tomcat4.0.6\webapps\TrackStudio\WEB-INF\uploads
C:\Tomcat4.0.6\webapps\TrackStudio\uploads

I am running Tomcat under Windows 2000 Advanced Server. Sun JRE 1.3.1_06.

I would really like to test TrackStudio, it looks cool!

Thanks,
Dave
dscomeau2
 

I fixed that, now I have a different probem

Postby dscomeau2 » Wed Apr 16, 2003 7:11 am

I fixed that (I used c:/uploads instead), now I have a different probem...

It looks like my connection to the database works ok, but an "insert" command seems to fail?

I am using SQL Server 2000 with Microsofts JDBC driver.

Code: Select all

[INFO] Dialect - -Using dialect: cirrus.hibernate.sql.SybaseDialect
[INFO] DriverManagerConnectionProvider - -Hibernate connection pool size: 2
[INFO] DriverManagerConnectionProvider - -Using driver: com.microsoft.jdbc.sqlserver.SQLServerDriver at URL: jdbc:microsoft:sqlserver://iwebdev:1433;databaseName=InfowebQA;SelectMethod=direct
[INFO] DriverManagerConnectionProvider - -Connection properties: {user=sa, password=}
[INFO] PreparedStatementCache - -prepared statement cache size: 100
[INFO] SessionFactoryImpl - -Use outer join fetching: true
[INFO] SessionFactoryImpl - -Use scrollable result sets: true
java.lang.AbstractMethodError: cirrus/hibernate/persister/AbstractEntityPersister.insert
        at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:98)
        at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:61)
        at cirrus.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:44)

dscomeau2
 

Re: I fixed that, now I have a different probem

Postby admin » Wed Apr 16, 2003 9:22 am

dscomeau2 wrote:I fixed that (I used c:/uploads instead), now I have a different probem...


This is because if you use relative upload directory name we understand it as relative to current OS directory.

dscomeau2 wrote:It looks like my connection to the database works ok, but an "insert" command seems to fail?

I am using SQL Server 2000 with Microsofts JDBC driver.

Code: Select all

[INFO] Dialect - -Using dialect: cirrus.hibernate.sql.SybaseDialect
[INFO] DriverManagerConnectionProvider - -Hibernate connection pool size: 2
[INFO] DriverManagerConnectionProvider - -Using driver: com.microsoft.jdbc.sqlserver.SQLServerDriver at URL: jdbc:microsoft:sqlserver://iwebdev:1433;databaseName=InfowebQA;SelectMethod=direct
[INFO] DriverManagerConnectionProvider - -Connection properties: {user=sa, password=}
[INFO] PreparedStatementCache - -prepared statement cache size: 100
[INFO] SessionFactoryImpl - -Use outer join fetching: true
[INFO] SessionFactoryImpl - -Use scrollable result sets: true
java.lang.AbstractMethodError: cirrus/hibernate/persister/AbstractEntityPersister.insert
        at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:98)
        at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:61)
        at cirrus.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:44)



Please turn hibernate sql logging on: set
hibernate.show_sql true
in trackstudio.hibernate.properties

and send me (by email) full log.

I know about problems with Hibernate and some old MS SQL drivers, we test it MS SQL JDBC Driver Service Pack 1:

14.12.2002 02:56 2 289 784 mssql-jdbc-setup.exe

Also please use
;SelectMethod=cursor
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8148
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Re: I fixed that, now I have a different probem

Postby admin » Wed Apr 16, 2003 3:22 pm


I am using SQL Server 2000 with Microsofts JDBC driver.


We supply right JDBC driver for MS SQL within WAR, so, please ensure that you has not MS SQL JDBC drivers in CLASSPATH.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8148
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby Guest » Wed Apr 16, 2003 5:43 pm

Hi Maxim,

I have just emailed the log file. But there was no SQL in the file.

I have verified that there is not MS JDBC drivers other than the MS JDBC Driver Service pack 1 on my PC.

Dave
Guest
 

Postby admin » Wed Apr 16, 2003 5:47 pm

Anonymous wrote:Hi Maxim,

I have just emailed the log file. But there was no SQL in the file.

I have verified that there is not MS JDBC drivers other than the MS JDBC Driver Service pack 1 on my PC.

Dave


Please use
Code: Select all
SelectMethod=cursor


and notify me about results.
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8148
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia

Postby admin » Wed Apr 16, 2003 6:01 pm

Anonymous wrote:Hi Maxim,

I have just emailed the log file. But there was no SQL in the file.

I have verified that there is not MS JDBC drivers other than the MS JDBC Driver Service pack 1 on my PC.

Dave


This seems to be classpath problem:
--
java.lang.AbstractMethodError: cirrus/hibernate/persister/AbstractEntityPersister.insert
at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:98)
at cirrus.hibernate.loader.OuterJoinLoader.walkTree(OuterJoinLoader.java:61)
at cirrus.hibernate.loader.OneToManyLoader.<init>(OneToManyLoader.java:44)
at cirrus.hibernate.impl.CollectionPersister.createCollectionQuery(CollectionPersister.java:216)
at cirrus.hibernate.impl.CollectionPersister.<init>(CollectionPersister.java:206)
at cirrus.hibernate.impl.SessionFactoryImpl.<init>(SessionFactoryImpl.java:211)
at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:397)
at cirrus.hibernate.impl.DatastoreImpl.buildSessionFactory(DatastoreImpl.java:388)
at gran.app.Config.getSessionFactory(Config.java:198)

---

Please remove all that you can from tomcat classpath and try again.

PS. We check it with Tomcat 4.1LE + JDK 1.4
Maxim Kramarenko (mailto: maximkr@trackstudio.com)
TrackStudio - Hierarchical Bug & Issue Tracking Software
http://www.trackstudio.com
admin
Site Admin
 
Posts: 8148
Joined: Thu Jan 01, 1970 3:00 am
Location: Smolensk, Russia


Return to TrackStudio Support

Who is online

Users browsing this forum: No registered users and 7 guests

cron