I just re-updated and re-ran build. After the update, I was seeing compile errors, this time missing stuff from net.sourceforge.wurfl - an example:
| [execmodules] /Volumes/Ash/Users/kgelner/project/jboss-portal/jboss-portal-2.0/core/src/main/org/jboss/portal/core/invocation/ContentTypeInterceptor.java:21: package net.sourceforge.wurfl.wurflapi does not exist | [execmodules] import net.sourceforge.wurfl.wurflapi.CapabilityMatrix; | [execmodules] ^ | Some other classes from that package structure that it desires are ObjectsManager and TagUtil. I downloaded the Wurfl package from: http://wurfl.sourceforge.net/java/installation.php Created a $JBOSS_HOME/thirdparty/wurfl-wall/lib directory where I stuffed the wurfltags.jar file, that seemed to quiet the compile down and it now works. Since I'm using JBoss 2.0.1, I figured I might as well go with the wurfl_tc5_b2.zip version of the library for Tomcat 5. Also, trying out a master build.sh deploy from the build directory encountered an error with third-party/xom-xom/lib not existing, I created the directory to placate the deploy script but didn't bother to hunt down the library since it all compiled. Others reading this post, please note I am not a committer so by saying I "added" it I just mean locally - you'd have to do the same thing if you have this problem. Then I tried running the portal, and see this error a number of times on startup: | 23:35:27,178 INFO [Binder] Mapping collection: org.jboss.portal.core.impl.user.UserImpl.roles -> jbp_role_membership | 23:35:27,179 INFO [Configuration] Found mapping documents in jar: org/jboss/portal/core/impl/user/UserPref.hbm.xml | 23:35:27,196 ERROR [Configuration] Could not compile the mapping document | net.sf.hibernate.MappingException: duplicate import: UserPref | at net.sf.hibernate.cfg.Mappings.addImport(Mappings.java:85) | at net.sf.hibernate.cfg.Binder.bindClass(Binder.java:126) | at net.sf.hibernate.cfg.Binder.bindRootClass(Binder.java:221) | at net.sf.hibernate.cfg.Binder.bindRoot(Binder.java:1256) | at net.sf.hibernate.cfg.Configuration.add(Configuration.java:252) | at net.sf.hibernate.cfg.Configuration.addInputStream(Configuration.java:288) | at net.sf.hibernate.cfg.Configuration.addJar(Configuration.java:396) | Trying to run the portal I still just get the same null pointer exception (sorry for not posting that before): | javax.servlet.ServletException: java.lang.NullPointerException | org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:85) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | | | | root cause | org.jboss.portal.common.transaction.NestedException: java.lang.NullPointerException | org.jboss.portal.common.transaction.Transactions.requiresNew(Transactions.java:81) | org.jboss.portal.core.servlet.TransactionFilter.doFilter(TransactionFilter.java:74) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:75) | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865510#3865510 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865510 ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
