how to debug gwt with super dev
Answered
Using IDEA 2018.3 ide ultimate, from windows 10, I cannot specify which gwt modules to load in the debug configuration, in order to debug client side java, with super dev plugin in chrome browser, the message is "no gwt modules found".
From chrome pressing the "debug in jet idea" button in the plugin does seem indeed to connect to the ide.
The project was imported from eclipse, how can I activate which gwt modules ?

Please sign in to leave a comment.
Please check https://www.jetbrains.com/help/idea/enabling-gwt-support.html.
I have attached a "target web facet" :
It is a bit of an enigma how to specify the gwt modules, I suspect that intellij idea is not finding :
C:\DEManager\DEMaster\src\it\onetech\demaster\DEManager.gwt.xml
could that be what it's complaining about
Do you have DEManager.gwt.xml in the module root?
when I press "add content root" it seems to automatically point to :
C:\DEManager\DEMaster\war\META-INF\MANIFEST.MF
there is also a file context.xml in that folder
should I point the "content root" to where there is the *.gwt.xml ?
ok I got it, now I can select the "gwt modules" it appears I had the root "off by 1" i.e. I had the root one folder above where the project really is
I had the root pointed to : C:\DEManager\
I think it should be below that in : C:\DEManager\DEMaster where the ant build.xml is
so it is necessary to specify which gwt modules ? you can't just use "all" ?
All should work too if IDE can find the .gwt.xml in the module content root directory and you want to load all the modules from the project.
it would seem to allow .gwt.xml below the root, I may be wrong, I have another difficuly now, when I press the "debug" of the tomcat war, it seems to forcibly try to build before debug, which gives me errors compiling with java, however since it does compile allright with ant, is it possible not to build prior to debug or to tell it to build with ant :
See the Before Launch steps, you can remove the build step there. Note that it may not work properly since Ant will produce different output in the folders where IDE doesn't expect it. I'd suggest fixing the dependencies (https://www.jetbrains.com/help/idea/creating-and-managing-modules.html#working-with-module-dependencies) and compilation errors first.
how can I compile from ant ? i.e. the inverse of generating and build :
https://www.jetbrains.com/help/idea/generate-ant-build.html
i.e. given the ant build, to generate intellij build somehow ?
It's not possible. IntelliJ IDEA can import only from Gradle/Maven/SBT.
I right clicked on the ant target "create run configuration" but it also fails to compile, what might be needed :
Switch to the text mode of Ant output to see the actual errors.
adding the external jars as dependencies now it compiles without ant :
now I return to my initial "quest" to try and debug client side java, with this "gwt" debug configuration :
on accessing this url : http://localhost:9876/sourcemaps/demanager/
HTTP ERROR: 500
Problem accessing /sourcemaps/demanager/. Reason:
Powered by Jetty://
the debug output :
"C:\Program Files (x86)\Java\jdk1.7.0_60\bin\java.exe" -agentlib:jdwp=transport=dt_socket,address=127.0.0.1:23135,suspend=y,server=n -Xmx512m -javaagent:C:\Users\gfanini\.IntelliJIdea2018.3\system\captureAgent\debugger-agent.jar -Dfile.encoding=UTF-8 -classpath "C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\plugins\GwtStudio\lib\sdm-launcher\superdevmode-launcher-legacy.jar;C:\jar\gwt-2.6.1\gwt-codeserver.jar;C:\jar\gwt-2.6.1\gwt-dev.jar;C:\DEManager\DEMaster\src\it\onetech\demaster;C:\DEManager\build\classes;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\ant-javafx.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\dt.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\javafx-doclet.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\javafx-mx.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\jconsole.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\sa-jdi.jar;C:\Program Files (x86)\Java\jdk1.7.0_60\lib\tools.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\log4j-1.2.16.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\hibernate3.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\hibernate-annotations.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\smartgwt.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\ejb3-persistence.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\gwt-jackson-0.14.1.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\jackson-all-1.9.11.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\jackson-annotations-2.8.4.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\gwt_i18n_server_1.0.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\javax.ws.rs-api-2.0.1.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\fast-md5.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\commons-fileupload-1.3.1.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\commons-beanutils-1.9.3.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\quartz-2.2.3.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\jsch-0.1.45.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\xmlrpc-server-3.1.3.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\xmlrpc-common-3.1.3.jar;C:\jar\gwt-2.6.1\gwt-user.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\commons-io-2.3.jar;C:\DEManager\DEMaster\war\WEB-INF\lib\commons-codec-1.4.jar;C:\jar\gwt-2.6.1\validation-api-1.0.0.GA-sources.jar;C:\jar\gwt-2.6.1\validation-api-1.0.0.GA.jar;C:\Program Files\JetBrains\IntelliJ IDEA 2018.3\lib\idea_rt.jar" com.google.gwt.dev.DevMode -superDevMode -war C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\www -remoteUI 7903:IntelliJIdea -startupUrl http://127.0.0.1:8080/demanager/DEManager.html DEManager
Connected to the target VM, address: '127.0.0.1:23135', transport: 'socket'
Running GPE launcher for GWT-2.6.x version.
Runing CodeServer with parameters: [-noprecompile, -port, 9876, -bindAddress, 127.0.0.1, DEManager]
workDir: c:\Tmp\gwt-codeserver-8301379314586447633.tmp
Module setup completed in 463 ms
The code server is ready.
Next, visit: http://127.0.0.1:9876/
log4j:WARN No appenders could be found for logger (org.apache.jasper.compiler.JspRuntimeContext).
log4j:WARN Please initialize the log4j system properly.
log4j:WARN See http://logging.apache.org/log4j/1.2/faq.html#noconfig for more info.
Linking modules
Bootstrap link for command-line module 'DEManager'
Linking module 'demanager'
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Invoking Linker SmartGwtScriptInjector
Augmenting demanager.nocache.js to manually load the following script tags:
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Creating nocache file: C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\www\demanager\demanager.nocache.js
To compile the module 'demanager' , visit:
http://127.0.0.1:9876/recompile/demanager?_callback=cback&user.agent=safari,gecko1_8,ie8,ie9,ie10
Dev Mode initialized. Startup URL:
http://127.0.0.1:8080/demanager/DEManager.html
Starting Jetty on port 8888
[WARN] /sourcemaps/demanager/
java.lang.RuntimeException: Can't find symbolMaps dir for demanager
at com.google.gwt.dev.codeserver.ModuleState.findSourceMap(ModuleState.java:95)
at com.google.gwt.dev.codeserver.SourceHandler.loadSourceMap(SourceHandler.java:237)
at com.google.gwt.dev.codeserver.SourceHandler.sendDirectoryListPage(SourceHandler.java:126)
gwt seems to have generated some symbol maps in :
C:\DEManager\DEMaster\war\WEB-INF\deploy\demanager\symbolMaps
for example 58D41DE63D04354099DD5D7C41F217E1.symbolMap
I need to tell gwt to output the symbol maps in a specific place where the intellij built in jetty web server expects them for gwt debug somehow ?
alternatively is it possible to point jetty to the default gwt symbol path which seems to be \web-inf\deploy
http://127.0.0.1:8080/demanager/DEManager.html yields :
HTTP ERROR 404
Problem accessing /demanager/DEManager.html. Reason:
Powered by Jetty://
I tried the intellij wizard "mysampleapplication" with gwt 2.8.2 (the latest), with jdk 1.7, to get it to debug client side java with super dev I had to do this :
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206826805-Vaadin-vs-GWT-Superdev-Mode
i.e. I renamed/removed superdevmode-launcher-legacy.jar
if you are interested, this actually works :
http://127.0.0.1:9876/sourcemaps/MySampleApplication/gen/com/mySampleApplication/client/
now I need to understand what is needed in the other project which uses smart gwt 2.6.1 of 2014 and I need to understand what might be wrong with symbol maps
the basic difference I notice is that in the wizard example the chrome browser seems to invoke compilation, whereas in my project it is not invoking it ?
GET /recompile/MySampleApplication
The code server is ready at http://127.0.0.1:9876/
Code server started in 10.16 s ms
2018-12-04 12:07:48.829:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2018-12-04 12:07:50.934:INFO:oejsh.ContextHandler:main: Started c.g.g.d.s.j.WebAppContextWithReload@db8f53{/,file:/C:/Users/gfanini/.IntelliJIdea2018.3/system/gwt/gwt2.17f24f3c/gwt2.73e7a781/run/www/,AVAILABLE}{C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\gwt2.17f24f3c\gwt2.73e7a781\run\www}
2018-12-04 12:07:50.936:INFO:oejs.ServerConnector:main: Started ServerConnector@4d1879{HTTP/1.1}{127.0.0.1:8888}
2018-12-04 12:07:50.937:INFO:oejs.Server:main: Started @13553ms
Dev Mode initialized. Startup URL:
http://127.0.0.1:8888/MySampleApplication.html
GET /recompile/MySampleApplication
Job com.mySampleApplication.MySampleApplication_1_0
starting job: com.mySampleApplication.MySampleApplication_1_0
binding: user.agent=gecko1_8
Compiling module com.mySampleApplication.MySampleApplication
Resolving com.google.gwt.animation.client.Animation
Found type 'com.google.gwt.animation.client.Animation'
GET /recompile/DEManager is not being invoked ? perhaps due to caching of about 5000 java files ?
The code server is ready at http://127.0.0.1:9876/
Code server started in 40.07 s ms
2018-12-04 12:23:04.982:INFO:oejs.ServerConnector:main: Started ServerConnector@1661a8f{HTTP/1.1}{127.0.0.1:9876}
2018-12-04 12:23:04.982:INFO:oejs.Server:main: Started @41330ms
Parsing file:/C:/Users/gfanini/.IntelliJIdea2018.3/system/gwt/demanager.8093aaa7/DEManager.d4d5482b/run/www/WEB-INF/web.xml
startElement: web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_4_0.xsd" version="4.0"
endElement: web-app
Loading modules
it.onetech.demaster.DEManager
Starting HTTP on port 8888
Starting Jetty on port 8888
2018-12-04 12:23:05.130:INFO:oejs.Server:main: jetty-9.2.z-SNAPSHOT
2018-12-04 12:23:09.221:INFO:oejsh.ContextHandler:main: Started c.g.g.d.s.j.WebAppContextWithReload@159726c{/,file:/C:/Users/gfanini/.IntelliJIdea2018.3/system/gwt/demanager.8093aaa7/DEManager.d4d5482b/run/www/,AVAILABLE}{C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\www}
2018-12-04 12:23:09.230:INFO:oejs.ServerConnector:main: Started ServerConnector@1b8a550{HTTP/1.1}{127.0.0.1:8888}
Started web server on port 8888
2018-12-04 12:23:09.230:INFO:oejs.Server:main: Started @45578ms
URL DEManager.html normalized as http://127.0.0.1:8888/DEManager.html
Linking modules
Bootstrap link for command-line module 'it.onetech.demaster.DEManager'
Linking module 'DEManager'
Constructing StandardLinkerContext
Invoking Linker SmartGwt
Invoking Linker RPC policy file manifest
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Attempting to optimize JS
Invoking Linker ScriptInjector
Invoking Linker SmartGwtScriptInjector
Creating loadScriptTagFiles.js to manually load the following script tags:
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Invoking Linker RPC log linker
Invoking Linker Export CompilationResult symbol maps
Invoking Linker Emit compile report artifacts
Dev Mode initialized. Startup URL:
http://127.0.0.1:8888/DEManager.html
[WARN] 404 - GET /DEManager.html (127.0.0.1) 298 bytes
Request headers
Host: 127.0.0.1:8888
Connection: keep-alive
Pragma: no-cache
Cache-Control: no-cache
Upgrade-Insecure-Requests: 1
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/70.0.3538.110 Safari/537.36
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/*;q=0.8
Accept-Encoding: gzip, deflate, br
Accept-Language: it-IT,it;q=0.9,en-US;q=0.8,en;q=0.7
Response headers
Date: Tue, 04 Dec 2018 11:23:09 GMT
Content-Type: text/html; charset=ISO-8859-1
Cache-Control: must-revalidate,no-cache,no-store
Content-Length: 298
404 - GET /favicon.ico (127.0.0.1) 295 bytes
now I am getting errors from embedded jetty jetty-9.2.z-SNAPSHOT trying to open a postgres db, should I debug as external tomcat with super dev :
Closing cache file: C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\gwt-unitCache\gwt-unitCache-72cb1b634ef8ae81083ee3d69c942d236fe6aafe-FF35F588CF7564DE259004F02565B00E-000001677B7AE743 (5593 units written)
Opening cache file: C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\gwt-unitCache\gwt-unitCache-72cb1b634ef8ae81083ee3d69c942d236fe6aafe-FF35F588CF7564DE259004F02565B00E-000001677B7B63E4
2018-12-05 00:09:03.826:INFO:oejs.ServerConnector:main: Started ServerConnector@d1af13{HTTP/1.1}{127.0.0.1:8888}
[WARN] Failed startup of context c.g.g.d.s.j.WebAppContextWithReload@1f6c1e2{/,file:/C:/Users/gfanini/.IntelliJIdea2018.3/system/gwt/demanager.8093aaa7/DEManager.d4d5482b/run/www/,STARTING}{C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\www}
2018-12-05 00:09:03.827:INFO:oejs.Server:main: Started @33625ms
java.lang.IllegalStateException: Unknown configuration type: New in org.eclipse.jetty.xml.XmlConfiguration@1766ca
at org.eclipse.jetty.xml.XmlConfiguration.setConfig(XmlConfiguration.java:198)
at org.eclipse.jetty.xml.XmlConfiguration.<init>(XmlConfiguration.java:138)
at org.eclipse.jetty.plus.webapp.EnvConfiguration.configure(EnvConfiguration.java:123)
at org.eclipse.jetty.webapp.WebAppContext.configure(WebAppContext.java:479)
at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1337)
at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:741)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:505)
at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:550)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.handler.RequestLogHandler.doStart(RequestLogHandler.java:140)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at org.eclipse.jetty.util.component.ContainerLifeCycle.start(ContainerLifeCycle.java:132)
at org.eclipse.jetty.server.Server.start(Server.java:387)
at org.eclipse.jetty.util.component.ContainerLifeCycle.doStart(ContainerLifeCycle.java:114)
at org.eclipse.jetty.server.handler.AbstractHandler.doStart(AbstractHandler.java:61)
at org.eclipse.jetty.server.Server.doStart(Server.java:354)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:68)
at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:760)
at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:636)
at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:923)
at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:706)
at com.google.gwt.dev.DevMode.main(DevMode.java:432)
Started web server on port 8888
URL DEManager.html normalized as http://127.0.0.1:8888/DEManager.html
Linking modules
Bootstrap link for command-line module 'it.onetech.demaster.DEManager'
Linking module 'demanager'
Constructing StandardLinkerContext
Invoking Linker SmartGwt
Invoking Linker RPC policy file manifest
Invoking Linker Cross-Site-Iframe
Ignoring the following script tags in the gwt.xml file
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Attempting to optimize JS
Invoking Linker ScriptInjector
Invoking Linker SmartGwtScriptInjector
Creating loadScriptTagFiles.js to manually load the following script tags:
sc/modules/ISC_Core.js
sc/modules/ISC_Foundation.js
sc/modules/ISC_Containers.js
sc/modules/ISC_Grids.js
sc/modules/ISC_Forms.js
sc/modules/ISC_RichTextEditor.js
sc/modules/ISC_Calendar.js
sc/modules/ISC_DataBinding.js
Invoking Linker RPC log linker
Invoking Linker Export CompilationResult symbol maps
Invoking Linker Emit compile report artifacts
Dev Mode initialized. Startup URL:
http://127.0.0.1:8888/DEManager.html
[ERROR] 503 - GET /DEManager.html (127.0.0.1) 302 bytes
C:\DEManager\DEMaster\war\WEB-INF\classes\hibernate.cfg.xml
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE hibernate-configuration PUBLIC "-//Hibernate/Hibernate Configuration DTD 3.0//EN" "http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd">
<hibernate-configuration>
<session-factory>
<!-- Use a Tomcat JNDI (JTA) datasource -->
<property name="hibernate.connection.datasource">java:comp/env/jdbc/DEManagerDS</property>
<property name="hibernate.use_outer_join">true</property>
<property name="hibernate.dialect">org.hibernate.dialect.PostgreSQLDialect</property>
<property name="hibernate.show_sql">true</property>
<!-- Annotated POJO object -->
<mapping class="it.onetech.demaster.server.entity.displayengine.DisplayEngine" />
C:\Users\gfanini\.IntelliJIdea2018.3\system\gwt\demanager.8093aaa7\DEManager.d4d5482b\run\www\WEB-INF\jetty-env.xml
<New id="DSTest" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>jdbc/DSTest</Arg>
<Arg>
<New class="org.postgresql.ds.PGSimpleDataSource">
<Set name="User">demanager</Set>
<Set name="Password">demanager</Set>
<Set name="DatabaseName">DEManagerDS</Set>
<Set name="ServerName">localhost</Set>
<Set name="PortNumber">5432</Set>
</New>
</Arg>
</New>
now it works I had to add this file for jndi database access in jetty : C:\DEManager\DEMaster\war\WEB-INF\jetty-env.xml
GET /recompile/demanager
Job it.onetech.demaster.DEManager_1_1
job's progress set to WAITING: it.onetech.demaster.DEManager_1_1
added job to queue
starting job: it.onetech.demaster.DEManager_1_1
job's progress set to COMPILING: it.onetech.demaster.DEManager_1_1
job's progress set to COMPILING: it.onetech.demaster.DEManager_1_1
Constructing StandardLinkerContext
binding: locale=it_IT
skipped compile because no input files have changed
0,106s total -- Compile completed
job's progress set to SERVING: it.onetech.demaster.DEManager_1_1
job's progress set to GONE: it.onetech.demaster.DEManager_1_0
GET /demanager/demanager.nocache.js
GET /demanager/368BD550B9C9929321170533719C733F.cache.js
GET /sourcemaps/demanager/368BD550B9C9929321170533719C733F_sourcemap.json
sent source map for module 'demanager' in 122 ms
<?xml version="1.0"?>
<!DOCTYPE Configure PUBLIC "-//Mort Bay Consulting//DTD Configure//EN" "http://jetty.mortbay.org/configure.dtd">
<Configure class="org.eclipse.jetty.webapp.WebAppContext">
<New id="DSTest" class="org.eclipse.jetty.plus.jndi.Resource">
<Arg></Arg>
<Arg>jdbc/DEManagerDS</Arg>
<Arg>
<New class="org.postgresql.ds.PGSimpleDataSource">
<Set name="User">demanager</Set>
<Set name="Password">demanager</Set>
<Set name="DatabaseName">demanagerdb</Set>
<Set name="ServerName">localhost</Set>
<Set name="PortNumber">5432</Set>
</New>
</Arg>
</New>
</Configure>