I suspected that something is wrong in the .../data/portal/....directory.

Because when rebuild/redeploy from source, i need to clean 
~/jboss-4.0.1sp1/server/default/tmp, work, data directories. Otherwise, the 
portal server will fail and cannot access the portal page.



In addition, in the jmx-console, i can find that under  jboss.web, 
J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/
was deployed successfully. 

Is this due to classloader or deployment sequence?


------------ERROR MESSAGE------------------------
org.jboss.portal.server.deployment.CannotCreatePortletWebAppException: 
javax.management.InstanceNotFoundException: jboss.web
:J2EEApplication=none,J2EEServer=none,j2eeType=WebModule,name=//localhost/ is 
not registered.
        at 
org.jboss.portal.server.deployment.PortalWebTomcat5App.(PortalWebTomcat5App.java:49)
        at 
org.jboss.portal.server.deployment.PortalWebAppFactory.create(PortalWebAppFactory.java:55)
        at 
org.jboss.portal.server.deployment.WebAppIntercepter.startService(WebAppIntercepter.java:190)
        at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
        at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:173)
        at org.jboss.portal.server.util.Service.start(Service.java:73)
        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:324)


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

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


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
JBoss-Development mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-development

Reply via email to