SQL Power Business Intelligence Productivity Tools
Company OverviewBusiness Intelligence Productivity ToolsQuick-Start Implementation ServicesDemos & TurotialsFrequently Asked Questions (FAQ)Open Source Community ResourcesSQL Power ForumImplementation & Technology PartnersGet SQL Power SoftwareContact Us

SQL Power Software Forum

SQL Power Software Forum

  [Search] Search   [Recent Topics] Recent Topics   [Hottest Topics] Hottest Topics   [Members]  Member Listing   [Groups] Back to home page  [Register] Register /  [Login] Login 
Cannot start Wabit  XML
Forum Index » SQL Power Wabit Support
Author Message
castorp


Joined: 2008-03-06 13:38:06
Messages: 129
Offline

Hi,

I downloaded wabit-generic-1.1.1.tar.gz and unpacked the file, but when I run

java -jar wabit.jar

on the commandline (or double-click the file) I get the following exception:

Sounds like a packaging problem
Luc Boudreau


Joined: 2009-09-14 18:44:50
Messages: 15
Offline

Hi castorp,

Thanks for reporting this. We're working on it.

Cheers!
dga


Joined: 2010-05-08 17:25:10
Messages: 3
Offline

I just downloaded wabit.jar and have this same problem.

There is no ca/sqlpower/util/UserPrompterFactory.class

Is that the problem?

I am rusty running java from the command line. Here is what I tried:

[2010-05-08 16:23 allard@oceanpark ~]$ export JAVA_HOME=/usr/java/jdk1.6.0_20
[2010-05-08 16:23 allard@oceanpark ~]$ cd /usr/java/jdk1.6.0_20/bin
[2010-05-08 16:23 allard@oceanpark bin]$
[2010-05-08 16:23 allard@oceanpark bin]$ cd ../lib
[2010-05-08 16:23 allard@oceanpark lib]$
[2010-05-08 16:23 allard@oceanpark lib]$ ls -l *jar
-rw-r--r-- 1 root root 145492 Apr 12 14:36 dt.jar
-rw-r--r-- 1 root root 205973 Apr 12 14:39 htmlconverter.jar
-rw-r--r-- 1 root root 393220 Apr 12 14:35 jconsole.jar
-rw-r--r-- 1 root root 2389408 Apr 12 14:35 sa-jdi.jar
-rw-r--r-- 1 root root 12598097 May 8 16:07 tools.jar
-rw-r--r-- 1 allard allard 3206442 Apr 9 08:59 wabit.jar
[2010-05-08 16:23 allard@oceanpark lib]$
[2010-05-08 16:23 allard@oceanpark lib]$ pwd
/usr/java/jdk1.6.0_20/lib
[2010-05-08 16:23 allard@oceanpark lib]$
[2010-05-08 16:23 allard@oceanpark lib]$ printenv | grep -i java
OLDPWD=/usr/java/jdk1.6.0_20/bin
PWD=/usr/java/jdk1.6.0_20/lib
JAVA_HOME=/usr/java/jdk1.6.0_20
[2010-05-08 16:24 allard@oceanpark lib]$ ../bin/java -Xms512m -Xmx1024m -jar ./wabit.jar
Exception in thread "main" java.lang.NoClassDefFoundError: ca/sqlpower/util/UserPrompterFactory
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClassCond(ClassLoader.java:632)
o o o
... 36 more
Could not find the main class: ca.sqlpower.wabit.


Any help will be appreciated.

Thanks,
Dennis
Luc Boudreau


Joined: 2009-09-14 18:44:50
Messages: 15
Offline

In the generic distribution, there are two included folders. 'jdbc' and 'lib' Those two folders must be present beside the wabit.jar file.

Are they there?
dga


Joined: 2010-05-08 17:25:10
Messages: 3
Offline

That fixed my problem.

Thanks for the quick reply.

When I extracted wabi.jar I did so in a directory containing a lot of files and failed to notice the lib.jar and odbc.jar files that were part of the extraction.

(Suggest you might consider making your tarball be a directory so that it extracts to a directory, i.e.: sqlpower/wabit.jar, sqlpower/lib.ar, sqlpower/odbc.jar.)

 
Forum Index » SQL Power Wabit Support
Go to:   
Powered by JForum 2.1.8 © JForum Team