[JBoss Portal] - Problems with Beta and wiki
by tony.herstellï¼ gmail.com
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
19Â years, 1Â month
[JBoss and NetBeans] - Unable to deploy / run to JBoss from Netbeans, port 8080, 10
by xeion
Hello,
Im using NetBeans 5.5 and just installed JBoss-4.0.5.GA for evaluation and I run into problems when I try to deploy or run projects from NetBeans.
It seems like NetBeans try to start JBoss everytime I try to deploy or run an J2EE application and is unable trying to rebind the port already used by JBoss..
First it was port 8080 then I tried changeing port 8080 in server.xml but then it was port 1099 and if I try to change that port it only fails on the new port. Have anyone got this working?
Also I never get a indication in Netbeans under Runtime->Servers that JBoss is running, I can start JBoss but it does not seem to have be able to get any status.
Here are some error messages from Netbeans
pre-init:
| init-private:
| init-userdir:
| init-user:
| init-project:
| do-init:
| post-init:
| init-check:
| init:
| deps-jar:
| deps-j2ee-archive:
| init:
| init:
| deps-jar:
| compile:
| library-inclusion-in-manifest:
| dist-ear:
| deps-jar:
| compile:
| library-inclusion-in-manifest:
| dist-ear:
| init:
| deps-jar:
| compile:
| library-inclusion-in-manifest:
| dist-ear:
| pre-pre-compile:
| pre-compile:
| do-compile:
| post-compile:
| compile:
| pre-dist:
| do-dist-without-manifest:
| do-dist-with-manifest:
| Building jar: E:\Development\Java\JBbossTest1\dist\JBbossTest1.ear
| post-dist:
| dist:
| pre-run-deploy:
| Starting server JBoss Application Server 4
| JBoss Application Server 4 Start Failed. HTTP Connector port 8080 is already in use.
| E:\Development\Java\JBbossTest1\nbproject\build-impl.xml:182: Deployment error:
| JBoss Application Server 4 Start Failed. HTTP Connector port 8080 is already in use.
| See the server log for details.
| BUILD FAILED (total time: 1 second)
....
| pre-dist:
| do-dist-without-manifest:
| do-dist-with-manifest:
| post-dist:
| dist:
| pre-run-deploy:
| Starting server JBoss Application Server 4
| JBoss Application Server 4 Start Failed. JNP service port 1199 is already in use.
| E:\Development\Java\JBbossTest1\nbproject\build-impl.xml:182: Deployment error:
| JBoss Application Server 4 Start Failed. JNP service port 1199 is already in use.
| See the server log for details.
| BUILD FAILED (total time: 4 seconds)
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028547#4028547
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028547
19Â years, 1Â month