| Issue 1: | Jetty 8 didn't work | |
| 1 person starred this issue and may be notified of changes. | Back to list |
I needed jetty 8 now so I got it to work here; http://cvs.adligo.org/viewvc/adligo_gwt_jetty/ you will want the jar gwt.jetty-8M2.jar
Dec 20, 2011
#1
sc...@adligo.com
Dec 20, 2011
The list and order of arguments is here https://code.google.com/webtoolkit/doc/latest/DevGuideCompilingAndDebugging.html Under Development Mode Options
Dec 20, 2011
and it still hangs when -server is right before -startupUrl ......
Dec 21, 2011
What steps will reproduce the problem?
1. Used the plugin packaged at adligo
2. Tried jetty-web.xml and jetty-env.xml to load
a jdbc driver into the jetty JNDI context
3. didnt work
What is the expected output? What do you see instead?
Would have jdbc/myConnectionPool available in the JNDI contexts
What version of the product are you using? On what operating system?
All
Please provide any additional information below.
Solved the problem by altering the source code of de.csenk.gwt.jetty.JettyLauncher
to listen to a environment variable JNDI_SETUP_CLASS
and doing a class.forName ...newInstace to call the plugin class.
Inside of the JNDI_SETUP_CLASS wrote code to inject stuff to the jndi envrionment by;
InitalContext ctx = new InitalContext();
ctx.bind("myStringKey", "myStringValue");
Context jdbcCtx = ctx.createSubContext("jdbc");
jdbcCtx.bind("myConnectionPool", someJdbcConnectionPoolInstance);
Dec 21, 2011
Also I can't seem to create new issues under this project? Bug in code.google.com? |