greptilian logo

IRC log for #friendlyjava, 2014-12-01

##friendlyjava on freenode

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

All times shown according to UTC.

Time S Nick Message
01:49 mr_lou joined ##friendlyjava
07:23 mr_lou joined ##friendlyjava
13:36 Richard_2340985 joined ##friendlyjava
13:37 Richard_2340985 hi, what do I have to do, to move from embedded jetty to glassfish?
13:56 aditsu Richard_2340985: I don't have experience with glassfish, but I guess the first step is to set up a web directory with the standard structure
13:59 pulsar_ Richard_2340985: i have to work with gf 3 currently, not an expert. to play safe: create a new domain, package your app as an EAR and deploy it.
13:59 pulsar_ get famliar with asadmin
14:00 Richard_2340985 Yeah thanks, I use netbeans, I just changed the maven settings for "run" so that it does not start jetty and this works. Now I have another problem.
14:00 Richard_2340985 Caused by: java.lang.NullPointerException
14:00 Richard_2340985 at org.primefaces.showcase.push.chat.Chat​Resource.onClose(ChatResource.java:57)
14:02 Richard_2340985 http://www.primefaces.org/showcase/push/chat.xhtml - this works with Jetty, when I remove dependencies that require "pro" access, but when I want to run this with glassfish, I get that error
14:03 pulsar_ perhaps jsf version incompatibilities?
14:03 Richard_2340985 http://pastebin.com/8WXp4xSX
14:03 pulsar_ the blueprint we use does include a specific jsf version in GF
14:04 pulsar_ not sure if JSF is always bundled with any GF instance
14:06 Richard_2340985 hm, I just found this suggestion: http://forum.primefaces.org/viewtopic.php?f=10&t=39758&p=125539
14:08 Richard_2340985 but they say it is fixed in RC1+
14:10 Richard_2340985 what can I do to check the issue with the jsf version?
14:15 Richard_2340985 Maybe I gotta try to implement it without atmosphere. It's just hard to learn things, when examples do not work.
14:36 pdurbin you should be able to use a WAR rather than an EAR with Glassfish (if you want)
14:54 Richard_2340985 me? I use WAR
14:57 pdurbin pulsar_ was suggesting EAR
15:10 Richard_2340985 oh yeah, I see... but I don't understand how EAR could be a solution.
15:13 pulsar_ nah, that was related to "how do i move from tomcat/jetty to GF"
15:14 pulsar_ back then EAR did provide classloader separation too, at least for jboss. but i think most containers will do that with WARs too nowerdays.
15:18 Richard_2340985 Ah ok. Weird thing... just tried it again and it works on glassfish.
15:24 Richard_2340985 I guess it was an issue with the integrated IDE browser that seems to lack support for websockets.

| Channels | #friendlyjava index | Today | | Search | Google Search | Plain-Text | plain, newest first | summary

##friendlyjava on freenode