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 26 Next »

[03:44:24 EDT(-0400)] * higmad (n=chatzill@pcit-8752.hig.se) has joined ##uportal
[09:01:37 EDT(-0400)] * michelled (n=michelle@142.150.154.101) has joined ##uportal
[09:17:35 EDT(-0400)] * michelled (n=michelle@142.150.154.101) has joined ##uportal
[09:46:45 EDT(-0400)] * michelled (n=michelle@142.150.154.101) has joined ##uportal
[12:13:37 EDT(-0400)] * colinclark (n=colin@192.42.249.7) has joined ##uportal
[12:42:02 EDT(-0400)] * holdorph (n=holdorph@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[12:55:34 EDT(-0400)] * Sememmon (n=Sememmon@uni1.unicon.net) has joined ##uportal
[12:57:50 EDT(-0400)] * SusanBramhall (i=susanbra@susan-x200.its.yale.edu) has joined ##uportal
[13:04:48 EDT(-0400)] * hoffmaz (n=hoffmaz@deanw-1.sunyit.edu) has joined ##uportal
[13:09:06 EDT(-0400)] <hoffmaz> is anyone aware if Calendar Portlet with Oracle is broken, or if Oracle10gDialog just doesn't work with it?
[13:18:43 EDT(-0400)] <athena> hi hoffmaz
[13:18:57 EDT(-0400)] <athena> i'm not aware of any problems w/ the calendar portlet, but i haven't tried it w/ oracle in quite some time
[13:19:09 EDT(-0400)] <athena> yale definitely runs w/ oracle, but they're on a much older version of the portlet
[13:19:14 EDT(-0400)] <athena> what kind of errors are you seeing?
[13:19:53 EDT(-0400)] <hoffmaz> i'm getting "Dialect class not found: org.hibernate.dialect.Oracle10gDialect"
[13:20:01 EDT(-0400)] <hoffmaz> when i start the portlet
[13:23:49 EDT(-0400)] <athena> ah
[13:24:09 EDT(-0400)] <athena> you'll likely need to add the oracle driver as a project dependency
[13:24:21 EDT(-0400)] <athena> so if you open up calendarportlet/pom.xml, you should see a dependency for hsql
[13:24:35 EDT(-0400)] <athena> you'll need to change that to oracle, with your preferred version
[13:24:46 EDT(-0400)] <hoffmaz> yes, com.oracle has been added
[13:25:06 EDT(-0400)] <hoffmaz> with the correct version as i installed it in to my repository
[13:25:32 EDT(-0400)] <hoffmaz> i had to add it for uPortal initially, so i'm familliar
[13:25:38 EDT(-0400)] <athena> oh ok
[13:26:22 EDT(-0400)] <hoffmaz> i appologize. i should have mentioned i already took that step
[13:26:33 EDT(-0400)] <athena> actually, come to think of it, i think i've used "org.hibernate.dialect.Oracle9Dialect" in the past, even for oracle 10g
[13:26:44 EDT(-0400)] <athena> i'm not sure if there's a specific hibernate dialect assigned to that version
[13:30:04 EDT(-0400)] <athena> the hibernate docs sort of seem to suggest that Oracle9Dialect might be the only one available as of hibernate 3.3.2: https://www.hibernate.org/hib_docs/v3/api/
[13:32:01 EDT(-0400)] <hoffmaz> yeah, i've seen that, but a google search gives results going all the way to oracle11gdialect
[13:32:17 EDT(-0400)] <hoffmaz> plus uPortal supports oracle10gdialect, which is where i borrow the config from
[13:33:54 EDT(-0400)] <athena> yes, though uPortal is using a later version of hibernate
[13:35:11 EDT(-0400)] <athena> you could potentially try upping the hibernate version in the calendar portlet i suppose
[13:35:55 EDT(-0400)] * colinclark (n=colin@192.42.249.7) has joined ##uportal
[13:38:10 EDT(-0400)] <hoffmaz> well it's starting successfuly now
[13:41:27 EDT(-0400)] <athena> oh good (smile)
[13:42:14 EDT(-0400)] <hoffmaz> although it doesn't seem to be reading the calendar i give it, and i'm getting a weird IllegalStateException in the logs
[13:42:46 EDT(-0400)] <hoffmaz> java.lang.IllegalStateException: An existing HttpSession is required while retrieving a UserInstance for a HttpServletRequest
[13:54:59 EDT(-0400)] * mrpeachum (n=eolsson@stockholm.vcsa.uci.edu) has joined ##uportal
[14:00:34 EDT(-0400)] <hoffmaz> could this new error be caused by an incorrect configuration.properties for CalendarPortlet? I'm still not exactly sure how that file is supposed to be configured
[14:13:03 EDT(-0400)] <athena> hoffmaz: i'm actually not sure what's going on there
[14:13:16 EDT(-0400)] <athena> i think it's related to the new AjaxPortletSupport library
[14:13:33 EDT(-0400)] <athena> so far i was the only one that had ever gotten that behavior
[14:14:17 EDT(-0400)] <athena> i've been able to get rid of it by restarting tomcat, but i'm not sure what the larger problem is
[14:14:45 EDT(-0400)] <athena> if you're looking for something more stable and tested, there is a tag in the repository from before some of the ajax changes
[14:19:23 EDT(-0400)] * apetro (n=apetro@wsip-98-174-242-39.ph.ph.cox.net) has joined ##uportal
[14:20:54 EDT(-0400)] <hoffmaz> well i thought it was a new problem from the calendar, but it's looking like something else may be causing it for me
[14:22:03 EDT(-0400)] <athena> i think it is the calendar, unfortunately
[14:22:18 EDT(-0400)] <athena> might have to do with the new (rather untested) ajax features
[14:22:22 EDT(-0400)] <athena> is the calendar not loading correctly?
[14:22:32 EDT(-0400)] <hoffmaz> well the exception is showing up in logs prior to my deployment of the calendar
[14:23:52 EDT(-0400)] <hoffmaz> i only deployed the calendar this morning, but i get the exact same trace in yesterday's startup logs
[14:24:02 EDT(-0400)] <hoffmaz> so it's not the calendar for me
[14:24:09 EDT(-0400)] <hoffmaz> looks like i need to backtrack
[14:24:23 EDT(-0400)] <hoffmaz> thanks anyway (wink)
[14:25:50 EDT(-0400)] <mrpeachum> different topic: ldap in the 3.1.1... can't get it to connect to my server
[14:26:13 EDT(-0400)] <mrpeachum> this is my first time playing with 3.1.1 since 3.0.1 and the personDirectoryContext file is so different
[14:26:22 EDT(-0400)] <mrpeachum> i'm thoroughly confused...
[14:26:39 EDT(-0400)] <mrpeachum> and the docs on the wiki are not updated to show the new format....
[14:27:22 EDT(-0400)] <mrpeachum> does anyone have a sample working context file that works for you in 3.1.1?
[14:29:06 EDT(-0400)] <athena> oh ok, glad i didn't break stuff (smile)
[14:29:16 EDT(-0400)] <athena> i do not, mrpeachum
[14:29:25 EDT(-0400)] <athena> though one of my coworkers configured it recently i think
[14:29:27 EDT(-0400)] <athena> hang on a second
[14:29:32 EDT(-0400)] <mrpeachum> ok
[14:29:39 EDT(-0400)] <athena> i think he made a jira for the wrong bit of documentation
[14:30:17 EDT(-0400)] <athena> here we go: <![CDATA[<script type="text/javascript" src="/wiley-activity-creator/js/question-shopping-cart.js" language="javascript"></script>]]>
[14:30:19 EDT(-0400)] <athena> er.
[14:30:20 EDT(-0400)] <athena> no.
[14:30:28 EDT(-0400)] <athena> copy/paste/FAIL
[14:30:30 EDT(-0400)] <athena> http://www.ja-sig.org/issues/browse/UP-2453
[14:31:23 EDT(-0400)] <athena> from what adam said, it sounds like the ldapContext.xml has a sample configuration that's mostly right, but has the error listed in that ticket
[14:31:26 EDT(-0400)] <athena> i don't know if that helps
[14:31:33 EDT(-0400)] <mrpeachum> ok (smile)
[14:36:48 EDT(-0400)] <mrpeachum> ah... yeah i saw that jira ticket... not quite the problem for me
[14:37:01 EDT(-0400)] <mrpeachum> its the personDirectoryContext.xml file that needs updated documentation
[14:37:57 EDT(-0400)] <mrpeachum> all the persondir apis changed since 3.0.1 and the docs for setting up ldap inside the context file still give the examples for the old version
[14:38:32 EDT(-0400)] <mrpeachum> i suppose i'll submit another jira to get that documentation updated
[14:38:36 EDT(-0400)] <mrpeachum> bbl
[14:39:50 EDT(-0400)] <athena> ok
[14:39:58 EDT(-0400)] <athena> sorry, i guess i haven't tried that one yet!
[14:40:03 EDT(-0400)] <athena> would be great to get all this updated though
[14:44:17 EDT(-0400)] <hoffmaz> btw, it's FragmentAdministration that's throwing that exception for me
[14:44:59 EDT(-0400)] <hoffmaz> the channel seems to still be working though, and i can use it to log in as fragment owners
[15:01:47 EDT(-0400)] <athena> well i'm glad you tracked it down and that the channel is still working (smile)

  • No labels