[JBoss Seam] - problem when jar and war deploy on different server
by chibi
i try to deploy jar and war on different server
i modified my source code as below:
1. all service component implement a @Remote interface
2. modified jndiPattern to ${project.name}/#{ejbName}/remote in build.xml
3. modified jndiPattern to \#{ejbName}/remote in components.properties
4.added a file "jndi.properties" into war with
| java.naming.provider.url=jnp://192.168.210.24:1099
| java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
| java.naming.factory.url.pkgs=org.jboss.naming\:org.jnp.interfaces
|
after that, jbossAS said org.jnp.interfaces.NamingContextFactory not found, so i copied jnp-client.jar to war
now i've got this exception
| Exception sending context initialized event to listener instance of class org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
| java.lang.IncompatibleClassChangeError
|
i am sure my all service components have bound as "/remote" from JMX
i cannot find any document that can explain how to split seam project layer into several servers
need help, thx
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088754#4088754
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088754
18 years, 7 months
[Installation, Configuration & DEPLOYMENT] - java.lang.OutOfMemoryError: PermGen space
by konstandinos
Hi
While monitoring JBoss's console output, I have noticed countless different errors, all with the following cause
java.lang.OutOfMemoryError: PermGen space
Some of the errors include:
- ERROR [ContainerBase] Exception invoking periodic operation: ...
- ERROR [[/portal-weather-samples]] Session event listener threw exception
- ERROR [MessageCache] Message Cache Thread Stopped: ...
- ERROR [CommandServlet] Exception in command invocation ...
... and many more.
I am running JBoss AS 4.2.1 on Ubuntu Linux 7.04.
It is also worth noting that I have only starting getting this PermGen space problem after having installed the JBoss Forums portlet and leaving it up for around a day. The errors started long after everything deployed ok. We even wrote some posts on the forum with no errors.
I am using JBoss Portal 2.6.1 and JBoss Forums 1.0.0.GA.P2.6.1
Any help would be appreciated. I hope this isn't a major issue and that it is easily solveable.
Cheers,
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4088740#4088740
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4088740
18 years, 7 months