Where is the lookup happening from? Is it a standalone Java program? If yes, are you including the jbossall-client.jar and the jar files referenced in its MANIFEST.MF, in your client classpath? Ensure that these jar files are the same as that on the server.
If you are doing the lookup within the container (like from servlet or jsp), make sure that you are not packaging any jboss related jar files (like jbossall-client.jar) inside your application.
Finally, if none of this helps you fix the issue, please post the output of the JNDI tree which you can view by following the steps mentioned here http://www.jboss.org/community/docs/DOC-9583
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186154#4186154
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186154
I have the following two questions. Any direction would be appreciated.
1. Why can't bad links or incorrect pages within the portal be displayed?
For example, if I created a hyperlink in the portal that was obviously incorrect such as "http://localhost:8080/portal/fakelinkpath" which doesn't exit. When I click this link, I expect the new page to display as an error, but instead its the default page for the portal (http://localhost:8080/portal). Why is that? Do I need to make some configuration change to prevent this? If so, what configuration files?
2. Does JBoss Portal have an index page?
I am trying to create a welcome page to automatically redirect users to the default JPortal home page (http://localhost:8080/portal). I couldn't find any home pages or anything of that nature that I could modify or use to do this redirection motion.
--Here are my current specs--
JBoss Portal Version: jboss-portal-2.7.0.CR1
Did you get Portal from Subversion? or download it?: Downloaded
JBoss AS Version: JBoss-4.3.0
Database Vendor and Version: MySQL 5.0.37
OS Platform : Windows XP SP2
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186152#4186152
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186152
Peter,
What do you think about the following JAVa arguments?:
JAVA_OPTS=" -Xms1024M -Xmx1024M -server -XX:+AggressiveOpts -XX:PermSize=64m -XX:MaxPermSize=128m -XX:NewSize=256m -XX:MaxNewSize=256m -XX:SurvivorRatio=8 -XX:+UseParallelGC -verbose:memory -XX:+PrintGCDetails -Djava.security.policy=$JAVA_HOME/lib/security/java.policy "
I have started jboss with this configuration on test environment right now. The apps seem to work a little faster, but i will have my QA team do load testing next week and try killing jboss and check performance.
I am new to JVM tuning, so I am experimenting right now and trying to find the optimum between performance and stability.
thank you in advance!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4186150#4186150
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4186150