That's not an error, it's a warning. As long as you are seeing logs when you perform server operations, everything is fine.
There is no known way to prevent log4j from printing this (spurious) warning with the way we use it.
Announcement
Collapse
No announcement yet.
X
-
Originally posted by edulid View PostOh, reading other threads, I understand that for evaluating purposes, the EE version shall be used, and when buying the Pro license, the "imports" will be changed, right?
Now I have another problem:
"Copy war/WEB-INF/classes/log4j.config.xml across to the "src" dir of your project (it's placed in the "src" dir as a means of getting it into the CLASSPATH). This enables default log4 categories for server-side logs appropriate for development. "
I tried to copy the \smartgwtee-2.4\samples\spring-hibernate-dmi\war\WEB-INF\classes\log4j.isc.config.xml file into my src directory, but I get this error:
Code:log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext). log4j:WARN Please initialize the log4j system properly.
This is the same error I got before copying the file.
Thank you!Last edited by znkomurcu; 3 Aug 2014, 08:12.
Leave a comment:
-
Thanks for your patience, I just went to the SmartGWT page and clicked the evaluation link there
http://www.smartclient.com/product/smartgwt.jsp
Because I swear I only see one table on http://www.smartclient.com/product/ with:
LGPL PRO POWER ENTERPRISE
and only one free download link for each column. And nothing showing that there is 2 completely different products, just 4 types of one product. Therefore I used the only Pro, eval, download link there was.
Leave a comment:
-
There are two products, SmartGWT and SmartClient, and each comes in LGPL, Pro, Power and Enterprise version. The provided download link goes to a page that clearly has two columns for the two products. Download the SmartGWT Eval.
Leave a comment:
-
So its not that Smart GWT is the free one, and SmartClient is just the pro version of it ? They are very different things entirely ?
http://www.smartclient.com/product/
I believe I require a pro version, that's what the grid shows me. In order to have Server Data Binding. Its only to use a better approach to DataSources I need in order to populate my smartGWT ListGrids. The way I currenlty use in the free Smart GWT is far too long winded.
But do you mean there's a Pro version of SmartGWT, and a pro version of SmartClient ? The grid only has one download.
Leave a comment:
-
Not sure how we can clarify further. There are two products, SmartGWT and SmartClient. If you want to use SmartGWT, download SmartGWT, use the SmartGWT QuickStart Guide and the SmartGWT docs. Do not use anything (docs, files, etc) from the SmartClient SDK when using SmartGWT.
Leave a comment:
-
I wish to be using SmartClient Pro to be able to use extra DataSource functionality between client and server instead of large amounts of RPC etc
Which is why I used this start guide once I downloaded the evaluation of the Pro.
"Smart GWT Pro/EE Project Setup & Deployment"
http://www.smartclient.com/smartgwte...wtEESetup.html
Leave a comment:
-
We two products: SmartClient and SmartGWT. You have downloaded SmartClient and you are trying to use installation and setup instructions from SmartGWT. Delete everything you've done so far and download SmartGWT:
http://www.smartclient.com/product/download.jsp
Then use the QuickStart Guide to get started.
Note: as the download page tells you, should not never mix files from a SmartClient and SmartGWT package.
Leave a comment:
-
Originally posted by IsomorphicThis indicates you didn't put smartgwtee.jar in your classpath (step 1 of the installation instructions you linked to).
Is there a missing jar ? I went and found a smartgwtee.jar online, but when my app runs, it comes up saying Isomprphic evaluation has ended.
(http://www.smartclient.com/builds/Sm...EnterpriseEval)
Really really need this to work to also prove to my boss this is a far better way to do it than how I've been doing things for the past year in regards to Datasources.Last edited by zenrhe; 22 Sep 2011, 07:10.
Leave a comment:
-
This indicates you didn't put smartgwtee.jar in your classpath (step 1 of the installation instructions you linked to).
Leave a comment:
-
Originally posted by edulidOh, reading other threads, I understand that for evaluating purposes, the EE version shall be used, and when buying the Pro license, the "imports" will be changed, right?
Also using an evaluation of the SmartClient Pro, so I can prove that it will do the job required and get the boss to pay for it.
Following the same instructions at
http://www.smartclient.com/smartgwtee/javadoc/com/smartgwt/client/docs/SgwtEESetup.html
But its falling over, for both the Pro and EE references in the gwt.xml
[ERROR] Unable to find 'com/smartgwtee/SmartGwtEE.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
obviously 'SmartGwtEE.gwt.xml' doesnt exists, as there's only 'mymoduleName.gwt.xml'
Did you have more luck after this ?
Leave a comment:
-
Oh, reading other threads, I understand that for evaluating purposes, the EE version shall be used, and when buying the Pro license, the "imports" will be changed, right?
Now I have another problem:
"Copy war/WEB-INF/classes/log4j.config.xml across to the "src" dir of your project (it's placed in the "src" dir as a means of getting it into the CLASSPATH). This enables default log4 categories for server-side logs appropriate for development. "
I tried to copy the \smartgwtee-2.4\samples\spring-hibernate-dmi\war\WEB-INF\classes\log4j.isc.config.xml file into my src directory, but I get this error:
Code:log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext). log4j:WARN Please initialize the log4j system properly.
This is the same error I got before copying the file.
Thank you!
Leave a comment:
-
Pro Installation Issue
Hello,
I am trying to evaluate the SmartGWT Pro version (2.4), so I downloaded the evaluation version, and now I want to integrate it to an existing smartgwt LPGL project.
I followed the instructions here:
http://www.smartclient.com/smartgwte...wtEESetup.html
When I update my modulename.gwt.xml with:
Code:<inherits name="com.smartgwtee.SmartGwtEE"/> <inherits name="com.smartgwtee.tools.Tools"/>
But since I am only interested in the "pro" version, I replaced that with:
Code:<inherits name="com.smartgwtpro.SmartGwtPro"/> <inherits name="com.smartgwtpro.tools.Tools"/>
[ERROR] Unable to find 'com/smartgwtpro/SmartGwtPro.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source?
the whole error stack:
Code:Loading modules zedes2.Zedes2 Loading inherited module 'com.smartgwtpro.SmartGwtPro' [ERROR] Unable to find 'com/smartgwtpro/SmartGwtPro.gwt.xml' on your classpath; could be a typo, or maybe you forgot to include a classpath entry for source? [ERROR] Line 7: Unexpected exception while processing element 'inherits' com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:248) at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:413) at sun.reflect.GeneratedMethodAccessor1.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [ERROR] Failure while parsing XML com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66) at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source) at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source) at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [ERROR] Unexpected error while processing XML com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355) at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48) at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402) at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:266) at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:178) at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:294) at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:147) at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:973) at com.google.gwt.dev.DevMode.loadModule(DevMode.java:482) at com.google.gwt.dev.DevMode.doSlowStartup(DevMode.java:372) at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1081) at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:795) at com.google.gwt.dev.DevMode.main(DevMode.java:282) [ERROR] shell failed in doSlowStartup method
Code:<?xml version="1.0" encoding="UTF-8"?> <module rename-to='zedes2'> <!-- Inherit the core Web Toolkit stuff. --> <inherits name='com.google.gwt.user.User'/> <inherits name='com.google.gwt.inject.Inject'/> <inherits name="com.google.gwt.uibinder.UiBinder" /> <inherits name="com.smartgwtpro.SmartGwtPro"/> <inherits name="com.smartgwtpro.tools.Tools"/> <!-- Inherit the default GWT style sheet. You can change --> <!-- the theme of your GWT application by uncommenting --> <!-- any one of the following lines. --> <inherits name='com.google.gwt.user.theme.standard.Standard'/> <!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> --> <!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/> --> <!-- Other module inherits --> <inherits name='com.gwtplatform.mvp.Mvp' /> <inherits name='com.gwtplatform.dispatch.Dispatch' /> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlue"/> <inherits name="com.smartclient.theme.enterpriseblue.EnterpriseBlueResources"/> <!-- Specify the app entry point class. --> <entry-point class='zedes2.client.Zedes2'/> <!-- Specify the paths for translatable code --> <source path='client'/> <source path='shared'/> <!-- Set user agents --> <set-property name="user.agent" value="gecko1_8"/> <!-- In any real-world application, you will define at least --> <!-- one locale in addition to the default locale. --> <extend-property name="locale" values="en"/> <define-configuration-property name="gin.ginjector" is-multi-valued="false" /> <set-configuration-property name="gin.ginjector" value="zedes2.client.gin.MyGinjector" /> </module>
Thanks!Last edited by edulid; 14 Feb 2011, 05:31.Tags: None
Leave a comment: