Because you did not post your portlet-instances.xml file and portlet.xml file, I can only guess, but I would say that in portlet-instances.xml you have:
<instance>
| <instance-id>PreventionsInstance</instance-id>
| <portlet-ref>PreventionPortlet.preventions</portlet-ref>
| </instance>
while in portal.xml you have:
<portlet-name>PreventionPortlet</portlet-name>
You should have instead:
<instance>
| <instance-id>PreventionsInstance</instance-id>
| <portlet-ref>PreventionPortlet</portlet-ref>
| </instance>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143224#4143224
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143224
When you say anonymous wrote : I want to run the jboss in "all" mode in jboss-4.2.2.GA. do you meant that you ran as follows:
./run.sh -c all -b 10.20.220.15
(I ask because the run command you posted runs the 'default' configuration, not the 'all configuration.)
If your post is incorrect, and you really did run with the "-c all" option, what error were you seeing? Without the errors, it is impossible to say what is wrong.
Also, you mention a "portal war file." Is this JBoss Portal?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143221#4143221
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143221
Based on this output:
JAVA: java
you do not have JAVA_HOME set. If it was set as you indicate, then the line would read:
JAVA: /opt/java/jdk1.6.0_04/java
Most likely, the .bashrc file for root is not picking up the /etc/profile. You are possibly picking up the jvm that comes with Debian, and not the Sun JVM. That jvm is not qualified to run JBossAS. To be sure, while signed in as root, run:
java -version
That will tell you what it running.
I would not worry about the "missing file" error. That error message is a hold-over from ages past (couple of years ago) when the JDK was required to compile JSPs. More recent versions of Tomcat include everything necessary to compile JSPs. I have run JBossAS 4.2.x and 5.0 with just a JRE.
And I agree with FrankTheTank, you really should not run JBossAS as root - you will open up your system to all kinds of security issues.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143211#4143211
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143211