[jboss-user] [JBoss Portal] - Problems with Beta and wiki

tony.herstell@gmail.com do-not-reply at jboss.com
Thu Mar 15 17:26:38 EDT 2007


Please advise...

Using New BETA Portal.


  | Set up environment
  | 
  |     * Install java (1.5 - wiki only works with 1.5 as yet).
  |     * Set up JAVA_HOME in the system PATH (My Computer - Environment Variables)
  |     * Unpack JBoss Portal Latest Release (comes as a single package including JBoss)
  |     * Install MySQL? (root, admin) and MySQL? gui tools.
  |     * Create database jbossdb inside MySQL?
  |     * link Jboss to MySQL? by:
  |           o copying mysql-ds.xml from docs/examples/jca
  |           o renaming the datasource to PortalDS? inside the file
  |           o add username, password and machine name (root, admin, localhost)
  |           o rename datasource in portal-hsqldb-ds.xml from PortalDS? to PortalDS_OLD
  |     * run server (bin/run) and ensure it runs up and tables are created.
  | 
  | If building wiki:
  | 
  |     * Install Maven (1.0.2)
  |     * Add maven to system PATH
  |     * Download wiki source
  |     * Build wiki (to create ear file) using maven all in base wiki directory
  |     * Deploy ear file into deploy area of Jboss server
  | 
  | If hacking an ear file (current process as maven doesn't work)
  | 
  |     * explode the ear file and update the relevant files (see Jboss wiki wiki to see the files you want to change).. where files are stored, which extensions will be rendered as images etc.
  | 
  | Issues
  | Cannot actually build wiki from Maven as maven cannot import some jars. (logged in wiki forum)
  | Cannot run up the latest (beta) portal with wiki as it doesn't like it.
  | Positioning a User component to allow the users to login when the wiki page is being displayed... this is not remembered over a server re-start so you have to go admin and add the User Component again. 
  | 
  | 



  | 09:42:23,492 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=.../deploy/jmx-console.war/
  | 09:42:23,758 INFO  [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-portal-2.6-BETA1/server/default/deploy/wiki.ear
  | 09:42:24,086 INFO  [TomcatDeployer] deploy, ctxPath=/wiki-test, warUrl=.../tmp/deploy/tmp54289wiki.ear-contents/wiki-test-exp.war/
  | 09:42:24,305 INFO  [TomcatDeployer] deploy, ctxPath=/wiki, warUrl=.../tmp/deploy/tmp54289wiki.ear-contents/wiki-exp.war/
  | 09:42:24,461 ERROR [[/wiki]] Exception starting filter wikiFileAccessFilter
  | java.lang.NoClassDefFoundError: org/jboss/wiki/WikiSession
  |         at java.lang.Class.getDeclaredConstructors0(Native Method)
  |         at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  |         at java.lang.Class.getConstructor0(Class.java:2671)
  |         at java.lang.Class.newInstance0(Class.java:321)
  |         at java.lang.Class.newInstance(Class.java:303)
  |         at org.apache.catalina.core.ApplicationFilterConfig.getFilter(ApplicationFilterConfig.java:210)
  |         at org.apache.catalina.core.ApplicationFilterConfig.setFilterDef(ApplicationFilterConfig.java:304)
  |         at org.apache.catalina.core.ApplicationFilterConfig.<init>(ApplicationFilterConfig.java:77)
  |         at org.apache.catalina.core.StandardContext.filterStart(StandardContext.java:3634)
  |         at org.apache.catalina.core.StandardContext.start(StandardContext.java:4217)
  |         at org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  |         at org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  |         at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  |         at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |         at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |         at java.lang.reflect.Method.invoke(Method.java:585)
  |         at org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  |         at org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | [/code

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028549#4028549

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028549



More information about the jboss-user mailing list