[JBoss Portal] - HelloworldPortlet deploy and undeploy issues
by mwringe
I am using the JBoss Portal 2.4 + JBoss AS bundled download, and the Helloworld tutorial application (http://anonsvn.jboss.org/repos/portletswap/portlets/2_4/bundles/HelloWorl... ) mentioned in the JBoss Reference Manual.
When the war is placed in the deploy directory, it gets hot depoyed
| [TomcatDeployer] deploy, ctxPath=/helloworldportlet, warUrl=.../tmp/deploy/tmp31730helloworldportlet-exp.war/
|
But, the portlet will not be displayed unless two things occur:
1) it is the users first visit to the portal
2) the user logs out (note: this only occurs on a log out, not a login. So if the user is not already logged in, they will need to login and then logout before the portlet will be displayed)
Refreshing does not make the portlet appear, even when the reload clears the cache.
When the application gets removed from the deploy directory, it gets undeployed
| [TomcatDeployer] undeploy, ctxPath=/helloworldportlet, warUrl=.../tmp/deploy/tmp31730helloworldportlet-exp.war/
|
But, where the portlet used to be, there is now a portlet with title "Cannot render" and has "Object not found /helloworldportlet.HelloWorldPortlet" as the portlet contents.
Am I doing something wrong or missing a step somewhere? Or should I be filing bugs about this behaviour? I searched through the reference manual and could not find any mention of the behaviour I observered.
System Information: Linux, Sun 1.5 JVM, Firefox and SeaMonkey Browsers
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974092#3974092
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974092
19 years, 7 months
[Installation, Configuration & Deployment] - Re: Problems facing Installation of JBoss
by raj.shanmug
No Peter i am using 4.0.2 final version along with jboss portal 2.4 final version. Also i have downloaded the bundled version of jboss 2.4 +AS. Now answer my queries only for the bundled version. i have rectified the error in standardjbosscmp-jdbc.xml. But still i am getting the error 401 i.e This requires Http authenication error while accessing the portal. i think Mbeans are the main problem for this. Please find attached my logs.
--- MBeans waiting for other MBeans ---
ObjectName: portal:service=CMS
State: FAILED
Reason: javax.jcr.RepositoryException: failed to create folder for repository
meta data: failed to create folder entry: /: failed to create folder entry: /
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
Depends On Me:
portal:commandFactory=CMSObject
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: java.lang.SecurityException: Invalid authentication attempt, principal
=null
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: jboss.mq:service=StateManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Error creating connection to the databas
e.; - nested throwable: (java.lang.SecurityException: Invalid authentication att
empt, principal=null)
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=PersistenceManager
State: FAILED
Reason: java.lang.SecurityException: Invalid authentication attempt, principal
=null
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss:service=KeyGeneratorFactory,type=HiLo
State: FAILED
Reason: java.lang.SecurityException: Invalid authentication attempt, principal
=null
I Depend On:
jboss:service=TransactionManager
jboss.jca:service=DataSourceBinding,name=DefaultDS
ObjectName: portal:service=CMS
State: FAILED
Reason: javax.jcr.RepositoryException: failed to create folder for repository
meta data: failed to create folder entry: /: failed to create folder entry: /
I Depend On:
jboss.jca:service=DataSourceBinding,name=PortalDS
portal:service=JAASLoginModule
portal:service=Hibernate,type=CMS
Depends On Me:
portal:commandFactory=CMSObject
ObjectName: jboss.mq:service=StateManager
State: FAILED
Reason: org.jboss.mq.SpyJMSException: Error creating connection to the databas
e.; - nested throwable: (java.lang.SecurityException: Invalid authentication att
empt, principal=null)
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
ObjectName: jboss.mq:service=PersistenceManager
State: FAILED
Reason: java.lang.SecurityException: Invalid authentication attempt, principal
=null
I Depend On:
jboss.jca:service=DataSourceBinding,name=DefaultDS
Depends On Me:
jboss.mq:service=DestinationManager
10:00:02,734 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
10:00:03,640 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
10:00:03,671 INFO [JkMain] Jk running ID=0 time=0/734 config=null
10:00:03,750 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos
s_4_0_4_GA date=200605151000)] Started in 48s:953ms
---Raj
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3974089#3974089
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3974089
19 years, 7 months