Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 58 Next »

[02:20:37 EDT(-0400)] * EiNZTEiN (n=einztein@dsl-162.isunet.net) has joined ##uportal
[08:36:10 EDT(-0400)] * MarkRogers (n=MarkRoge@addhcp129.cc.umanitoba.ca) has joined ##uportal
[08:45:06 EDT(-0400)] * anastasiac (n=team@142.150.154.105) has joined ##uportal
[08:53:29 EDT(-0400)] * anastasiac (n=team@142.150.154.105) has joined ##uportal
[09:31:51 EDT(-0400)] * EricDalquist (n=dalquist@bohemia.doit.wisc.edu) has joined ##uportal
[09:46:00 EDT(-0400)] <EricDalquist> just saw an email that svn 1.5 is getting very close to release!
[09:56:03 EDT(-0400)] * grimesp (n=grimesp@134.250.4.177) has joined ##uportal
[09:56:19 EDT(-0400)] * michelled (n=team@142.150.154.197) has joined ##uportal
[09:59:29 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-0eb4703ad1107b28) has joined ##uportal
[10:19:00 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-850b31973d333c21) has joined ##uportal
[10:31:24 EDT(-0400)] * jessm (n=Jess@cpe-069-134-127-060.nc.res.rr.com) has joined ##uportal
[10:33:09 EDT(-0400)] * dstn (i=80249f09@gateway/web/ajax/mibbit.com/x-072f90dbab37c1a4) has joined ##uportal
[10:47:52 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[10:47:52 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[10:56:28 EDT(-0400)] * EiNZTEiN_ (n=einztein@205.241.143.4) has joined ##uportal
[11:38:25 EDT(-0400)] <dstn> anyone ever used squid & tomcat together?
[11:38:32 EDT(-0400)] <EricDalquist> nope
[11:56:53 EDT(-0400)] * EiNZTEiN (n=einztein@205.241.143.4) has joined ##uportal
[11:56:59 EDT(-0400)] <dstn> riooot!
[11:57:09 EDT(-0400)] <dstn> (smile)
[12:09:22 EDT(-0400)] <EricDalquist> hrm ... jpa is really cool but there are some really nice features of hibernate that it precludes (sad)
[12:10:21 EDT(-0400)] <dstn> I liked a mix of the two
[12:10:27 EDT(-0400)] <EricDalquist> yeah
[12:10:31 EDT(-0400)] <EricDalquist> that's what we have right now in up3
[12:10:38 EDT(-0400)] <EricDalquist> but I'm looking at some profiling results
[12:10:47 EDT(-0400)] <EricDalquist> and wanting to use the natural-id features of hibernate
[12:11:12 EDT(-0400)] <EricDalquist> one really nice feature is you can get second-level cache hits off of natural id queries
[12:11:19 EDT(-0400)] <EricDalquist> but that requires use of Criteria
[12:11:25 EDT(-0400)] <EricDalquist> which isn't as easy to mix
[12:12:40 EDT(-0400)] <EricDalquist> but the performance gain could be big
[12:14:58 EDT(-0400)] <EricDalquist> well, it isn't hard as much as not as clean
[12:15:06 EDT(-0400)] <EricDalquist> have to do:
[12:15:07 EDT(-0400)] <EricDalquist> final HibernateEntityManager hibernateEntityManager = ((HibernateEntityManager)this.entityManager);
[12:15:07 EDT(-0400)] <EricDalquist> final Session session = hibernateEntityManager.getSession();
[12:15:15 EDT(-0400)] <EricDalquist> to get the hibernate Session to create the criteria query
[12:18:41 EDT(-0400)] <dstn> I'm not that familiar with jpa, does it not cache?
[12:18:55 EDT(-0400)] <EricDalquist> well JPA is just an API layer
[12:19:01 EDT(-0400)] * athena7 (n=athena7@12.164.139.7) has joined ##uportal
[12:19:11 EDT(-0400)] <EricDalquist> you use Hibernate or some other JPA complient ORM under it
[12:19:37 EDT(-0400)] <EricDalquist> the problem is there are areas that Hibernate provides more functionality than comes with the JPA APIs
[12:19:41 EDT(-0400)] <dstn> oh i c
[12:20:05 EDT(-0400)]

<EricDalquist> in this case I have an object that looks like: Foo

Unknown macro: { int id; String name; }

[12:20:20 EDT(-0400)] <EricDalquist> id is a synthetic key generated by the database and the primary key of the table
[12:20:33 EDT(-0400)] <EricDalquist> name is also a unique key for the object but the human assigned one
[12:20:53 EDT(-0400)] <EricDalquist> Hibernate has a special designation called natural-id that you can use of field(s) like 'name'
[12:21:14 EDT(-0400)] <EricDalquist> and you can create a special Criteria query in Hibernate against the natural-id
[12:21:53 EDT(-0400)] <EricDalquist> the special part of it is it knows enough about the natural-id to first look in the second-level cache, without ever having to execute the query
[12:22:21 EDT(-0400)] <EricDalquist> where as if you just ran the query for a property with that value it would have to do more work
[12:27:56 EDT(-0400)] <dstn> interesting, I did not know that, helpful to remember though
[12:28:26 EDT(-0400)] <EricDalquist> yeah I just found it today
[12:28:37 EDT(-0400)] <EricDalquist> Java Persistence with Hibernate is a great book
[12:42:41 EDT(-0400)] <athena7> i committed the portlet preferences stuff to the up3 trunk yesterday
[12:42:47 EDT(-0400)] <EricDalquist> saw that
[12:42:49 EDT(-0400)] <EricDalquist> looks great
[12:43:03 EDT(-0400)] <athena7> oh good
[12:43:14 EDT(-0400)] <athena7> wanted to make sure some other people were able to use it successfully
[12:47:52 EDT(-0400)] <athena7> have you tried any of the non-default options?
[12:48:02 EDT(-0400)] <EricDalquist> I actually haven't tried it yet
[12:48:07 EDT(-0400)] <EricDalquist> just looked at the diff in fisheye
[12:48:19 EDT(-0400)] <athena7> ah ok
[12:48:27 EDT(-0400)] <holdorph> Eric loves to use ja-sig fisheye, you know
[12:48:30 EDT(-0400)] <EricDalquist> I'm working on some up3 migration stuff here this week and wasn't planning on doing much uPortal wise until next week
[12:48:30 EDT(-0400)] <athena7> yes
[12:48:39 EDT(-0400)] <dstn> ahaha
[12:48:42 EDT(-0400)] <athena7> fisheye is all sunshine and kittens!
[12:48:52 EDT(-0400)] <EricDalquist> I quite like fisheye ... when it is working ...
[12:50:07 EDT(-0400)] <athena7> (smile)
[12:53:09 EDT(-0400)] <dstn> comcast was defaced this morning
[12:53:15 EDT(-0400)] <dstn> anyone see that?
[12:54:01 EDT(-0400)] <holdorph> nope. but I haven't read any news today
[12:54:43 EDT(-0400)] <dstn> http://www.geekydrunk.com/2008/05/29/comcast-hacked/
[12:57:22 EDT(-0400)] <dstn> they changed their DNS info too
[13:03:18 EDT(-0400)] <athena7> hahaha
[13:03:23 EDT(-0400)] <athena7> i hate comcast
[13:03:32 EDT(-0400)] <athena7> i'm getting something else at the new apartment
[13:03:37 EDT(-0400)] <athena7> i don't know what
[13:03:39 EDT(-0400)] <athena7> just something else
[13:03:44 EDT(-0400)] <dstn> as do many others
[13:04:06 EDT(-0400)] <athena7> yeah
[13:04:24 EDT(-0400)] <athena7> i was informed that the new place had "turbo" internet or something nebulous like that
[13:04:32 EDT(-0400)] <dstn> lol
[13:04:39 EDT(-0400)] <dstn> you're probably thinking boost?
[13:04:43 EDT(-0400)] <athena7> my inquiries into whether it was like you know, cable, or dsl, or whatever weren't very successful
[13:04:45 EDT(-0400)] <athena7> yeah maybe
[13:04:52 EDT(-0400)] <athena7> the whole conversation was pretty useless
[13:05:05 EDT(-0400)] <dstn> lol
[13:05:14 EDT(-0400)] <dstn> if its from optimum, its boost
[13:05:39 EDT(-0400)] <athena7> i'm not sure if that was it or not
[13:06:07 EDT(-0400)] <athena7> oh wow, that's actually pretty bad - sounds like they got control of the incoming mail ports?
[13:06:07 EDT(-0400)] <dstn> 30mbps/5mbps, its fast
[13:06:36 EDT(-0400)] <athena7> nice
[13:06:58 EDT(-0400)] <athena7> i discovered that comcast terminates any of my ssh sessions that go idle for longer than 5 min
[13:07:07 EDT(-0400)] <athena7> so i have a 4 min keepalive ping on them now
[13:07:10 EDT(-0400)] <athena7> it's so stupid
[13:07:19 EDT(-0400)] <dstn> wtf
[13:07:24 EDT(-0400)] <dstn> that's stupid
[13:07:26 EDT(-0400)] <athena7> yes
[13:07:37 EDT(-0400)] <athena7> not to mention all their bittorrent interference
[13:07:48 EDT(-0400)] <athena7> good thing i don't need any linux isos or anything
[13:07:56 EDT(-0400)] <athena7> although WoW updates still use bittorent, i think?
[13:08:15 EDT(-0400)] <athena7> they also slow netflix connections way down
[13:08:21 EDT(-0400)] <athena7> so yeah, i'm ready to be done with them
[13:08:36 EDT(-0400)] <dstn> ya, I heard wow does
[13:08:50 EDT(-0400)] <athena7> wow also uses CAS! woo!
[13:08:57 EDT(-0400)] <dstn> whhhhat?
[13:09:00 EDT(-0400)] <dstn> no way
[13:09:01 EDT(-0400)] <athena7> yep
[13:09:06 EDT(-0400)] <athena7> their account login does
[13:09:19 EDT(-0400)] <dstn> wow, that's cool
[13:09:20 EDT(-0400)] <athena7> i saw it in a stack trace one night a few years back
[13:09:30 EDT(-0400)] <athena7> looked at the trace, cuz i'm a geek
[13:09:35 EDT(-0400)] <dstn> lol
[13:09:36 EDT(-0400)] <athena7> and saw edu.yale.its.tp in it
[13:09:47 EDT(-0400)] <athena7> started to think i was looking at something for work instead!
[13:09:52 EDT(-0400)] <athena7> i'm like hey, that's my department!!
[13:10:11 EDT(-0400)] <dstn> lol
[13:10:19 EDT(-0400)] <dstn> your like, wait..am I at work?
[13:10:28 EDT(-0400)] <athena7> yes (smile)
[13:12:34 EDT(-0400)] <athena7> here we go: http://blogs.yale.edu/roller/page/jdb53
[13:14:33 EDT(-0400)] <dstn> pretty cool
[13:14:41 EDT(-0400)] <dstn> I bet the CAS developers were 'honored'
[13:15:02 EDT(-0400)] <athena7> i told andrew he should campaign for a free account
[13:15:16 EDT(-0400)] <dstn> haha
[13:15:33 EDT(-0400)] <athena7> and that they could pay for mine instead, if necessary . . .
[13:15:54 EDT(-0400)] <dstn> lol
[13:32:53 EDT(-0400)] * ChanServ (ChanServ@services.) has joined ##uportal
[13:33:07 EDT(-0400)] * athena7 congratulates ChanServ
[13:33:27 EDT(-0400)] <dstn> yay
[14:43:35 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279543721.dsl.bell.ca) has joined ##uportal
[14:54:15 EDT(-0400)] * dstn (i=82845372@gateway/web/ajax/mibbit.com/x-806dea72aa9d6841) has joined ##uportal
[15:21:15 EDT(-0400)] <EiNZTEiN> hey guys
[15:21:18 EDT(-0400)] <EiNZTEiN> http://pastie.caboo.se/205555
[15:21:21 EDT(-0400)] <EiNZTEiN> any ideas?? (smile)
[15:22:00 EDT(-0400)] <EricDalquist> hrm, actually looks like it might be a bug in the ldap group store DTD loading
[15:24:53 EDT(-0400)] <EricDalquist> weird ... looking in the up3 code I don't see where it could possibly be getting the 'dtd/LDAPGroupStore.dtd' value from
[15:26:01 EDT(-0400)] <EricDalquist> are you using the ldap group store config that came with 3?
[15:28:10 EDT(-0400)] <EiNZTEiN> 2.6 my friend
[15:28:19 EDT(-0400)] <EiNZTEiN> (sad)
[15:28:48 EDT(-0400)] <EricDalquist> ah
[15:28:51 EDT(-0400)] <EricDalquist> sorry
[15:28:54 EDT(-0400)] <EricDalquist> I assumed 3.0
[15:28:57 EDT(-0400)] <EricDalquist> I'm not sure
[15:30:04 EDT(-0400)] <EiNZTEiN> :S
[15:30:28 EDT(-0400)] <EiNZTEiN> we are deploying to glassfish the dtd is inside the domain/config and inside the uPortal.war fill in DTD's
[15:30:59 EDT(-0400)] <EiNZTEiN> we have tried adding the dtd in glassfish/domains/domain1/config and it is also inside the uPortal.war
[15:31:04 EDT(-0400)] <EricDalquist> not sure, I've never deployed to glassfish
[15:31:38 EDT(-0400)] <EricDalquist> I seem to remember having to tweak the DTD resolver in uPortal to deal with finding DTDs inside of .jar/.war files for up3 though
[15:31:55 EDT(-0400)] <EricDalquist> but that is just a vauge memory, I'm not sure if we actually did
[15:34:29 EDT(-0400)] <MarkRogers> not sure if this would be of any help http://www.ja-sig.org/wiki/x/FQTP
[15:36:55 EDT(-0400)] <EiNZTEiN> hmm
[15:37:28 EDT(-0400)] <EricDalquist> yeah that is specific to up3 though
[15:37:33 EDT(-0400)] <EiNZTEiN> I guess :/
[15:37:39 EDT(-0400)] <EricDalquist> which already packages the classes and resoures as a jar
[15:37:49 EDT(-0400)] <EricDalquist> and itself as a WAR and EAR
[15:40:59 EDT(-0400)] * ChanServ (ChanServ@services.) has joined ##uportal
[15:53:50 EDT(-0400)] <EiNZTEiN> eeek
[15:59:28 EDT(-0400)] <MarkRogers> sorry
[16:02:35 EDT(-0400)] * colinclark_ (n=colin@bas1-toronto09-1279543721.dsl.bell.ca) has joined ##uportal
[16:04:22 EDT(-0400)] * colinclark (n=colin@bas1-toronto09-1279543721.dsl.bell.ca) has joined ##uportal
[16:13:31 EDT(-0400)] <EricDalquist> so I've been playing with using JPA/Hibernate as the persistence mechanism for the database backed portal event handler we're porting to 3.0
[16:14:11 EDT(-0400)] <EricDalquist> it looks like it should perform close enough straight JDBC to be acceptable, which is good, I'd rather not introduce a new usage of straight JDBC when we're trying to move to JPA/Hibernate
[16:18:47 EDT(-0400)] <athena7> cool
[16:54:23 EDT(-0400)] * deuce (n=deuce@uni1.unicon.net) has joined ##uportal
[16:58:43 EDT(-0400)] <deuce> has anyone seen this exception trying to render a portlet?
[16:58:46 EDT(-0400)] <deuce> java.lang.NullPointerException
[16:58:47 EDT(-0400)] <deuce> at org.apache.pluto.core.DefaultPortletInvokerService.invoke(DefaultPortletInvokerService.java:152)
[16:58:47 EDT(-0400)] <deuce> at org.apache.pluto.core.DefaultPortletInvokerService.load(DefaultPortletInvokerService.java:116)
[16:58:47 EDT(-0400)] <deuce> at org.apache.pluto.core.PortletContainerImpl.doLoad(PortletContainerImpl.java:311)
[16:58:47 EDT(-0400)] <deuce> at org.jasig.portal.channels.portlet.SpringPortletChannelImpl.initSession(SpringPortletChannelImpl.java:262)
[16:58:48 EDT(-0400)] <deuce> at org.jasig.portal.channels.portlet.CSpringPortletAdaptor.setStaticData(CSpringPortletAdaptor.java:83)
[16:59:02 EDT(-0400)] <EricDalquist> what version of uP?
[16:59:07 EDT(-0400)] <deuce> 3.0.0-GA
[16:59:26 EDT(-0400)] <EricDalquist> could be the portlet is missing
[16:59:42 EDT(-0400)] <EricDalquist> or the channel definition has the wrong app id in it
[16:59:55 EDT(-0400)] <EricDalquist> I added better logging for those cases for 3.0.1 ...
[16:59:59 EDT(-0400)] <EricDalquist> not that it helps you here
[17:00:28 EDT(-0400)] <deuce> yeah i checked those, but i'll check again. I could be missing it
[17:00:39 EDT(-0400)] <EricDalquist> remember that the appid starts with a /
[17:01:45 EDT(-0400)] <deuce> grrrr
[17:01:55 EDT(-0400)] <deuce> no leading slash
[17:01:57 EDT(-0400)] <deuce> (smile)
[17:02:43 EDT(-0400)] <deuce> thx
[19:08:11 EDT(-0400)] * grimesp (n=grimesp@134.250.4.177) has left ##uportal
[19:52:36 EDT(-0400)] * michelled (n=team@142.150.154.197) has left ##uportal
[21:23:41 EDT(-0400)] * esm (n=esm@207-53-193-161.dynamic-dsl.qis.net) has joined ##uportal

  • No labels