Stax Developer Community

Developer Community

Lucius Gregory Meredith
Lucius Gregory Meredith
  • Seattle, WA
  • United States

Lucius Gregory Meredith's Discussions

scala 2.8 final support?
2 Replies

Dear Stax'd,The following trace suggests that the scala archetype is still using a release candidate of scala rather than 2.8 final. Is there any chance this could be upgraded?Best…Continue

Started this discussion. Last reply by Lucius Gregory Meredith Aug 25, 2010.

headless x11 apps
3 Replies

Dear Stax'd,After some dbg'ing i found the issue with deploying my app to the cloud. The third party software i'm using inadvertantly makes a call into some Java code that wants awt involved. This…Continue

Started this discussion. Last reply by Spike Washburn Jul 9, 2010.

Really stuck
2 Replies

Dear Stax'd,Locally, my app (a JRuby app) runs perfectly under webbrick.When i use warble to package it up as a war and deploy it to one of my local servers under jetty as a(n exploded) war file it…Continue

Started this discussion. Last reply by Spike Washburn Jul 1, 2010.

unpacking war in deployment?
1 Reply

Dear Stax'd,i've discovered that a (crucial) piece of 3rd party code is looking for a directory -- that would be there if the WAR file were unpacked. Is there a way to have the stax app run from an…Continue

Started this discussion. Last reply by Spike Washburn Jun 29, 2010.

 

Lucius Gregory Meredith's Page

Latest Activity

Lucius Gregory Meredith replied to Lucius Gregory Meredith's discussion 'scala 2.8 final support?'
Dear Spike, Yep. i already checked that it worked. When you update, you might consider also updating the specs version the scala-maven-plugin version also you might consider making the delimited continuations plugin a default. Best…
Aug 25, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'scala 2.8 final support?'
Yeah, we'll work on updating the archetype. In the mean time, you can just change the pom.xml file to use 2.8.0
Aug 25, 2010

scala 2.8 final support?

Dear Stax'd,The following trace suggests that the scala archetype is still using a release candidate of scala rather than 2.8 final. Is there any chance this could be upgraded?Best wishes,--gregbash-3.2$ mvn archetype:generate -DarchetypeCatalog=http://mvn.stax.net/archetypes.xml[INFO] Scanning for projects...[INFO] Searching repository for plugin with prefix: 'archetype'.[INFO] ------------------------------------------------------------------------[INFO] Building Maven Default Project[INFO]  …See More
Discussion posted by Lucius Gregory Meredith Aug 25, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'headless x11 apps'
We set the java.awt.headless=true flag for your app and restarted it. Please see if that helps. If that doesn't do it, it's unlikely that there will be a way to overcome this issue for this app. :(
Jul 9, 2010
Lucius Gregory Meredith replied to Lucius Gregory Meredith's discussion 'headless x11 apps'
Dear Spike, Thanks for your quick reply! The appid is magrittetestone. Best wishes, --greg
Jul 9, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'headless x11 apps'
There is no way to configure/deploy native OS components for your app, but we can set the java.awt.headless=true system property for you, which is supposed to keep AWT calls from failing in most situations. I think we already tried that for your app…
Jul 9, 2010

headless x11 apps

Dear Stax'd,After some dbg'ing i found the issue with deploying my app to the cloud. The third party software i'm using inadvertantly makes a call into some Java code that wants awt involved. This turns out to make a call to establish a connection with an X11 server. i've verified on a CalPOP managed server that i can work around the problem by installing xorg and xvfb then using xvfb to create a display and setting the DISPLAY variable. The device is still headless, but is fielding the awt…See More
Discussion posted by Lucius Gregory Meredith Jul 9, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'Really stuck'
Here is a code snippet I often use to debug classpath problems. This will print out the location in disk that the specific class was loaded from. I usually throw this in a JSP and update the classname variable to the fully qualified classname I am…
Jul 1, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'Really stuck'
Can you private message me an example URL in your app that triggers this no class def error? If you want to try to more closely mimic this error locally by running the exploded WAR via the Stax SDK, you can use the following command: stax runwar -f…
Jul 1, 2010

Really stuck

Dear Stax'd,Locally, my app (a JRuby app) runs perfectly under webbrick.When i use warble to package it up as a war and deploy it to one of my local servers under jetty as a(n exploded) war file it also works perfectly.When i deploy that same war to stax the app appears to work, but then when i take the main action of the app i get a NoClassDefnFound exception. i've verified that the class mentioned (and all of the classes in the surrounding call stack actually) is in fact in the expected…See More
Discussion posted by Lucius Gregory Meredith Jun 30, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'unpacking war in deployment?'
The war files are run from an unpacked location. If the app uses the servletcontext.getRealPath to locate the unpacked location, it should work.
Jun 29, 2010
Discussions posted by Lucius Gregory Meredith Jun 29, 2010
Lucius Gregory Meredith replied to Lucius Gregory Meredith's discussion 'scala console?'
Dear Spike, Thanks! i sorted it by war-deploying locally. i don't know why i didn't think of that sooner! ;-( Best wishes, --greg
Jun 29, 2010
Spike Washburn replied to Lucius Gregory Meredith's discussion 'scala console?'
Unfortunately, there's no way to directly interact with the deployed application other than through the Web Console or whatever HTTP URLs you've exposed in your application. Log files are probably your best bet for debugging deployment…
Jun 28, 2010

Is there a way see the class path of the deployed app?

Dear Stax'd,i'm running into an issue where despite the fact that i've got the jar deployed in both WEB-INF/lib and WEB-INF/lib/java, it's not being found during execution. So, i'm getting a 'class not found' error during runtime. i'd like to be able to see the classpath the JVM has been initiated with. Is there a way to control this in stax?Best wishes,--gregSee More
Discussion posted by Lucius Gregory Meredith Jun 24, 2010
Lucius Gregory Meredith replied to Lucius Gregory Meredith's discussion 'problem connecting app to db in jruby app'
Dear Spike, Thanks! Excellent suggestion. The reason i had thought you might be vetting versions is because you are supplying your own driver for JDBC. That will definitely interact with the way the JRuby activerecord package works. Headius has an…
Jun 22, 2010

Profile Information

Which application stacks do you like to use when building web apps?
Servlets/JSP, JRuby on Rails, Other
What feature would you like to see Stax support next?
RabbitMQ
About me:
But enough about me... what about you?

Comment Wall

You need to be a member of Stax Developer Community to add comments!

Join Stax Developer Community

  • No comments yet!
 
 
 

Quick Links

Send Feedback

If you have any questions or feedback about Stax, please drop us a note.

© 2012   Created by Spike Washburn.

Badges  |  Report an Issue  |  Terms of Service