Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hawt.io Executable Jar fails to run #1381

Closed
rmoquin opened this issue Jun 13, 2014 · 7 comments
Closed

Hawt.io Executable Jar fails to run #1381

rmoquin opened this issue Jun 13, 2014 · 7 comments
Assignees
Milestone

Comments

@rmoquin
Copy link

rmoquin commented Jun 13, 2014

I downloaded the executable jar for version 1.4.4. It won't run as a standard user, but if I run it with elevated priveledges I get the output below and the URL is inaccessible:

java -jar hawtio-app.jar --port 8090
164 [main] INFO jetty - using temp directory for jetty: C:\Users\rkmoquin.hawtio\tmp
Embedded hawtio: You can use --help to show usage
Using options [
war=C:\Users\rkmoquin\AppData\Local\Temp\hawtio-5901547749674583394.war
contextPath=/hawtio
port=8090
extraClassPath=file:/C:/apps/Java/jdk1.7.0_45/lib/tools.jar
jointServerThread=false
help=false]
About to start war C:\Users\rkmoquin\AppData\Local\Temp\hawtio-5901547749674583394.war
225 [main] INFO org.eclipse.jetty.server.Server - jetty-8.y.z-SNAPSHOT
1382 [main] INFO org.eclipse.jetty.webapp.WebInfConfiguration - Extract jar:file:/C:/Users/rkmoquin/AppData/Local/Temp/hawtio-5901547749674583394.war!/ to C:\Users\rkmoqui
n.hawtio\tmp\webapp
2310 [main] WARN org.eclipse.jetty.webapp.WebAppContext - Failed startup of context o.e.j.w.WebAppContext{/hawtio,null},C:\Users\rkmoquin\AppData\Local\Temp\hawtio-5901547
749674583394.war
java.io.FileNotFoundException: C:\Users\rkmoquin.hawtio\tmp\webapp\app\themes\fonts\Open-Sans\OpenSans-Italic-webfont.eot? (The filename, directory name, or volume label
syntax is incorrect)
at java.io.FileOutputStream.open(Native Method)
at java.io.FileOutputStream.(FileOutputStream.java:221)
at java.io.FileOutputStream.(FileOutputStream.java:171)
at org.eclipse.jetty.util.resource.JarResource.copyTo(JarResource.java:231)
at org.eclipse.jetty.webapp.WebInfConfiguration.unpack(WebInfConfiguration.java:468)
at org.eclipse.jetty.webapp.WebInfConfiguration.preConfigure(WebInfConfiguration.java:52)
at org.eclipse.jetty.webapp.WebAppContext.preConfigure(WebAppContext.java:417)
at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:453)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:90)
at org.eclipse.jetty.server.Server.doStart(Server.java:262)
at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:59)
at io.hawt.embedded.Main.run(Main.java:109)
at io.hawt.embedded.Main.run(Main.java:69)
at io.hawt.app.App.main(App.java:101)
2441 [main] INFO org.eclipse.jetty.server.AbstractConnector - Started SelectChannelConnector@0.0.0.0:8090

hawtio: Don't cha wish your console was hawt like me!

http://localhost:8090/hawtio

@rmoquin
Copy link
Author

rmoquin commented Jun 13, 2014

BTW - I was trying this again and I checked all the locations of where hawtio puts temporary files when starting up. I noticed that in the theme fonts directory .hawtio\tmp\webapp\app\themes\fonts\Open-Sans there are only 3 files, when there are at least 20 in that location in the temporary war file that gets extracted. The missing eot file is in the war, it just isn't getting extracted for some reason...

@gashcrumb
Copy link
Member

There's a little work-around in some of the font .css files that avoids a bug in older IE versions. As older IE support really isn't on our radar I've removed them, which should clear up this issue. Should have a new release (1.4.5) probably next week.

@rmoquin
Copy link
Author

rmoquin commented Jun 16, 2014

This is an error that occurs in the standalone version and prevents the war
from deploying I have other weird issues if I deploy the war to tomcat)
.... I'm not at the point I can try to access the app through the browser
yet. For some reason not all the files in the war are extracting.

Ryan
On Jun 14, 2014 9:01 AM, "Stan Lewis" notifications@github.com wrote:

There's a little work-around in some of the font .css files that avoids a
bug in older IE versions. As older IE support really isn't on our radar
I've removed them, which should clear up this issue. Should have a new
release (1.4.5) probably next week.


Reply to this email directly or view it on GitHub
#1381 (comment).

@gashcrumb
Copy link
Member

This should be fixed in 1.4.5 (or 1.4.6 which might get released in a few minutes) so if anyone gets a chance to test and confirm that'd be great. Reopen if there's still issues.

@gashcrumb gashcrumb modified the milestone: 1.5.0 Jun 17, 2014
@graben
Copy link

graben commented Jun 18, 2014

Still not working with 1.4.8.

@bobwenx
Copy link

bobwenx commented Jun 23, 2014

in my environments, i face same problems between the version[1.4.2 - 1.5 SNAPSHOT]. it caused by unsupported character contains in file name /webapp/app/themes/fonts/Open-Sans/OpenSan
s-SemiboldItalic-webfont.eot?.(just try to uncompress the war or using git to clone current code).

the version Below 1.4.1 will works fine.

@gashcrumb
Copy link
Member

Awesome, saw those files! Just removed 'em...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants