Go Back   SmartClient Forums > Installation
Wiki Register Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread
  #1  
Old 27th Jun 2012, 07:58
mturcotte mturcotte is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 6
Default Unable to access datasource with SmartGWT Pro 3.1d

I just completed my evaluation of the Visual Builder for Smart GWT 3.1 and decided to buy SmartGWT Pro 3.1d. After installing it as I did with the eval version, I receive errors that I did not when I used the eval version.

When trying to load an existing view or save a new one, I receive an error:

DataSource:Filesystem: attempt to use DataSource of type iscserver without SmartClient Server option.

Any idea why this is happening?
Reply With Quote
  #2  
Old 27th Jun 2012, 11:18
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,561
Default

See the install instructions - this error message is in the troubleshooting section and indicates bad inherits.
Reply With Quote
  #3  
Old 29th Jun 2012, 09:12
mturcotte mturcotte is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 6
Default

Quote:
Originally Posted by Isomorphic
See the install instructions - this error message is in the troubleshooting section and indicates bad inherits.
I updated the Showcase.gwt.xml file under C:\Program Files\Apache Software Foundation\Tomcat 6.0\webapps\showcase\WEB-INF\classes\com\smartgwt\sample\showcase so that it includes the suggested inherits.

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE module PUBLIC "-//Google Inc.//DTD Google Web Toolkit 1.7.0//EN"
"http://google-web-toolkit.googlecode.com/svn/tags/1.7.0/distro-source/core/src/gwt-module.dtd">
<module rename-to="showcase">
<inherits name='com.google.gwt.user.User'/>
<inherits name="com.smartgwtpro.SmartGwtProNoScript"/>
<inherits name="com.smartgwt.Drawing"/>
<inherits name="com.smartgwt.Charts"/>
<inherits name="com.smartgwt.tools.SmartGwtTools"/>
<inherits name="com.smartgwtpro.tools.Tools"/>
<inherits name="com.smartclient.theme.enterprise.EnterpriseR esources"/>
<entry-point class='com.smartgwt.sample.showcase.client.Showcas e'/>
</module>

I am still receiving the same error. Please reply.

Also, is there a way for me to get an extension on my eval copy so that I can continue to work until this issue is resolved?

Thanks,
Mike
Reply With Quote
  #4  
Old 29th Jun 2012, 10:47
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,561
Default

See QuickStart Guide - don't start from the Showcase project.

Once you have your inherits right and you have started from an appropriate project, make sure to run a GWT compile and clear your browser cache.
Reply With Quote
  #5  
Old 29th Jun 2012, 11:50
mturcotte mturcotte is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 6
Default

Do I need to run this in an IDE? The eval version that I used for 60 days allowed me to copy the showcase.war file to my webapps directory and start the web server. The application was deployed and I was able to use it productively for 60 days without technical support.

I used the same installation process with the Pro version and have not been able to use it. Is there a way to get the Pro version to install and run like the eval version?

If not, is there a way for me to run the eval version using the Pro license?

I am not a developer. I am just trying to use Visual Builder as I did with the eval version. Thank you for your patience.
Reply With Quote
  #6  
Old 29th Jun 2012, 11:53
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,561
Default

No, an IDE is not required, as with the Eval version, 'ant' build scripts are included.

Basically nothing is different in the installation process and all the same docs apply - you've simply done something differene this time, skipped a step or still have old files lying around. Just follow the instructions from the top; they work.
Reply With Quote
  #7  
Old 29th Jun 2012, 13:29
mturcotte mturcotte is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 6
Default

I receive the following error when attempting to compile and build the war file.

C:\Users\Mike\Downloads\smartgwtpro-3.1d\samples\built-in-ds>ant war
Unable to locate tools.jar. Expected to find it in C:\Program Files\Java\jre6\li
b\tools.jar
Buildfile: build.xml

libs:

javac:
[javac] Compiling 3 source files to C:\Users\Mike\Downloads\smartgwtpro-3.1d
\samples\built-in-ds\war\WEB-INF\classes

BUILD FAILED
C:\Users\Mike\Downloads\smartgwtpro-3.1d\samples\built-in-ds\build.xml:37: Unabl
e to find a javac compiler;
com.sun.tools.javac.Main is not on the classpath.
Perhaps JAVA_HOME does not point to the JDK.
It is currently set to "C:\Program Files\Java\jre6"

Total time: 0 seconds

The JAVA_HOME path is correct. Any thoughts?
Reply With Quote
  #8  
Old 29th Jun 2012, 14:05
Isomorphic Isomorphic is offline
Administrator
 
Join Date: May 2006
Posts: 30,561
Default

Looks like you installed a JRE rather than a JDK. To compile Java projects, you'll need to have a JDK.
Reply With Quote
  #9  
Old 29th Jun 2012, 14:25
mturcotte mturcotte is offline
Registered Developer
 
Join Date: Apr 2012
Posts: 6
Default

All set.

Thank you for your help.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search


Similar Threads
Thread Thread Starter Forum Replies Last Post
JPADataSource - transaction problem when using queueing dejan Smart GWT Technical Q&A 7 13th Feb 2012 13:22
java.lang.NoClassDefFoundError: com/smartgwt/client/data/DSCallback on server side maksymg Smart GWT Technical Q&A 1 6th Oct 2011 16:30
Server-Side DataSource Access: Complete Java Code Example SchlauKunde Technical Q&A 2 7th Jun 2011 12:43
SmartGWT - DataSource integration with existing GWT RPC services jhasenbe Smart GWT Technical Q&A 17 25th Jan 2009 02:30
Unable to get a pointer to this item's focus element picasso566 Technical Q&A 0 11th Nov 2008 09:13

© 2010,2011 Isomorphic Software. All Rights Reserved