[
https://jira.jboss.org/jira/browse/JBPORTAL-1194?page=com.atlassian.jira....
]
Chris Laprun commented on JBPORTAL-1194:
----------------------------------------
It's difficult to tell what's going on from this stack trace. I'd venture that
the problem could be found upstream, i.e. for some reason, JBoss WS didn't deploy
correctly. Could you please look at the console when you start the server and report any
error related that might happen there before Portal is actually deployed. The
configuration you are using is known to work so I suspect something else is going on
here.
'Self' producer fails to be registered at server start
------------------------------------------------------
Key: JBPORTAL-1194
URL:
https://jira.jboss.org/jira/browse/JBPORTAL-1194
Project: JBoss Portal
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: Portal WSRP
Affects Versions: 2.6.Alpha1
Environment: Linux
1.5.0 JVM
4.0.5 JBoss AS
Reporter: Matt Wringe
Assignee: Chris Laprun
Fix For: 2.6.Alpha2
Attachments: server_output.txt, stracktrace.txt
When the server is started and the portal-wsrp.sar is located within the deploy
directory, the portal cannot cannot load the 'self' wsrp producer.
This is due to the portal trying to reference the 'self' producer before
'self' has been bound to the jndi.
15:40:14,739 INFO [WSRPDeploymentFactory] Added consumer for producer 'self'
15:40:14,956 ERROR [STDERR] org.jboss.portal.portlet.InvokerUnavailableException: Problem
getting service description for producer self
15:40:14,957 ERROR [STDERR] at
org.jboss.portal.wsrp.consumer.ProducerInfo.getServiceDescription(ProducerInfo.java:444)
...
15:40:15,226 ERROR [STDERR] Caused by: javax.naming.NameNotFoundException: wsrp-client
not bound
15:40:15,226 ERROR [STDERR] at
org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
...
Soon after this step, 'self' becomes bound:
15:40:33,666 INFO [ClientDeployer] Client ENC bound under: wsrp-client
Note: if the wsrp-portal.sar is hot deployed after the server has started, then it will
load the producer successfully.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira