[JBoss Portal] - Install Portal 2.6.4 to existing JBoss installation?
by tachoknight
Hi all-
I didn't find anything in the guides about installing the Portal SAR to an existing JBoss 4.2.2 installation, but I tried to do this and get a ton of errors upon startup:
ObjectName: portal:service=Hibernate,type=CMS
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=CMS
| cms.pm.cache:service=TreeCache
| portal:service=Interceptor,type=Cms,name=ACL
| portal:service=Interceptor,type=Cms,name=ApprovalWorkf
|
| ObjectName: portal:service=CMS
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| portal:service=JAASLoginModule
| portal:service=Hibernate,type=CMS
| cms.pm.cache:service=TreeCache
| portal:service=AuthorizationManager,type=cms
| portal:service=InterceptorStackFactory,type=Cms
| Depends On Me:
| portal:commandFactory=CMSObject
|
| ObjectName: portal:commandFactory=CMSObject
| State: CONFIGURED
| I Depend On:
| portal:service=CMS
| portal:service=ServerConfig
| Depends On Me:
| portal:commandFactory=Delegate,path=content
| portal:service=ContentRenderer,type=cms
|
| ObjectName: portal:commandFactory=Delegate,path=content
| State: CONFIGURED
| I Depend On:
| portal:commandFactory=Delegating
| portal:commandFactory=CMSObject
|
| ObjectName: cms.pm.cache:service=TreeCache
| State: CONFIGURED
| I Depend On:
| jboss:service=Naming
| jboss:service=TransactionManager
| portal:service=Hibernate,type=CMS
| Depends On Me:
| portal:service=CMS
|
| ObjectName: portal:service=InterceptorStackFactory,type=Cm
| State: CONFIGURED
| I Depend On:
| portal:service=Interceptor,type=Cms,name=ACL
| portal:service=Interceptor,type=Cms,name=ApprovalWorkf
| Depends On Me:
| portal:service=CMS
|
| ObjectName: portal:service=AuthorizationManager,type=cms
| State: CONFIGURED
| I Depend On:
| portal:service=AuthorizationProvider,type=cms
| Depends On Me:
| portal:service=CMS
| portal:service=Interceptor,type=Cms,name=ACL
|
| ObjectName: portal:service=AuthorizationProvider,type=cms
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=AuthorizationManager,type=cms
|
| ObjectName: portal:service=Interceptor,type=Cms,name=ACL
| State: CONFIGURED
| I Depend On:
| portal:service=AuthorizationManager,type=cms
| portal:service=Hibernate,type=CMS
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=InterceptorStackFactory,type=Cms
|
| ObjectName: portal:service=Interceptor,type=Cms,name=Appro
| State: CONFIGURED
| I Depend On:
| portal:service=Hibernate,type=CMS
| Depends On Me:
| portal:service=InterceptorStackFactory,type=Cms
|
| ObjectName: portal:service=InterceptorRegistration,type=Se
| State: CONFIGURED
| I Depend On:
| portal:service=Interceptor,type=Server,name=CMSIdentit
| portal:service=InterceptorStackFactory,type=Server
|
| ObjectName: portal:service=ContentRenderer,type=cms
| State: CONFIGURED
| I Depend On:
| portal:service=ContentProviderRegistry
| portal:commandFactory=CMSObject
| portal:service=PortalAuthorizationManagerFactory
| portal:container=Instance
|
| ObjectName: portal:service=ApprovePublish,type=Workflow
| State: CONFIGURED
| I Depend On:
| portal:service=Workflow,type=WorkflowService
| portal:service=Module,type=IdentityServiceController
|
| ObjectName: portal:commandFactory=IdentityUI
| State: CONFIGURED
| I Depend On:
| portal:service=ValidateEmailService,type=IdentityUI
| Depends On Me:
| portal:commandFactory=Delegate,path=validateEmail
|
| ObjectName: portal:service=IdentityUIConfigurationService,
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=IdentityMailService,type=Mail
| portal:service=RegistrationService,type=IdentityUI
| portal:service=ValidateEmailService,type=IdentityUI
| portal:service=WorkflowSoftDependency
|
| ObjectName: portal:service=IdentityMailService,type=Mail
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=Mail
| portal:service=IdentityUIConfigurationService,type=Ide
|
| ObjectName: portal:service=IdentityUserManagementService,t
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=RegistrationService,type=IdentityUI
| portal:service=ValidateEmailService,type=IdentityUI
|
| ObjectName: portal:service=RegistrationService,type=Identi
| State: CONFIGURED
| I Depend On:
| portal:service=IdentityUIConfigurationService,type=Ide
| portal:service=IdentityUserManagementService,type=Iden
|
| ObjectName: portal:service=ValidateEmailService,type=Ident
| State: CONFIGURED
| I Depend On:
| portal:service=IdentityUIConfigurationService,type=Ide
| portal:service=IdentityUserManagementService,type=Iden
| Depends On Me:
| portal:commandFactory=IdentityUI
|
| ObjectName: portal:commandFactory=Delegate,path=validateEm
| State: CONFIGURED
| I Depend On:
| portal:commandFactory=Delegating
| portal:commandFactory=IdentityUI
|
| ObjectName: portal:service=WorkflowSoftDependency
| State: CONFIGURED
| I Depend On:
| portal:service=IdentityUIConfigurationService,type=Ide
|
| ObjectName: portal.management:service=Management,type=Port
| State: CONFIGURED
| I Depend On:
| portal:service=InstanceContainerContext
|
| ObjectName: portal.management:service=Management,type=Iden
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
|
| ObjectName: portal:service=Hibernate,type=Workflow
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=Workflow,type=WorkflowService
|
| ObjectName: portal:service=Thread,type=WorkflowService
| State: CONFIGURED
| I Depend On:
| portal:service=Workflow,type=WorkflowService
|
| ObjectName: portal:service=Workflow,type=WorkflowService
| State: CONFIGURED
| I Depend On:
| portal:service=Hibernate,type=Workflow
| Depends On Me:
| portal:service=ApprovePublish,type=Workflow
| portal:service=Thread,type=WorkflowService
|
| ObjectName: portal.wsrp:service=WSRPProducer
| State: CONFIGURED
| I Depend On:
| portal:service=PortletInvoker,type=Producer
| portal.wsrp:service=RegistrationManager,type=Producer
| portal.wsrp:service=ProducerConfiguration
|
| ObjectName: portal.wsrp:service=RegistrationManager,type=P
| State: CONFIGURED
| I Depend On:
| portal.wsrp:service=PersistenceManager
| Depends On Me:
| portal.wsrp:service=WSRPProducer
|
| ObjectName: portal.wsrp:service=PersistenceManager
| State: CONFIGURED
| I Depend On:
| portal:service=Hibernate,type=Portlet
| Depends On Me:
| portal.wsrp:service=RegistrationManager,type=Producer
|
| ObjectName: portal.wsrp:service=WSRPDeployer
| State: CONFIGURED
| I Depend On:
| jboss.system:service=MainDeployer
| portal.wsrp:service=ConsumerRegistry
| portal.wsrp:service=EntityResolver
|
| ObjectName: portal:service=Hibernate,type=WSRPConsumer
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal.wsrp:service=ConsumerRegistry
|
| ObjectName: portal.wsrp:service=ConsumerRegistry
| State: CONFIGURED
| I Depend On:
| portal:service=Hibernate,type=WSRPConsumer
| portal:service=PortletInvoker,type=Federating
| portal:service=ListenerRegistry
| Depends On Me:
| portal.wsrp:service=WSRPDeployer
|
| ObjectName: portal:service=Interceptor,type=Server,name=Us
| State: CONFIGURED
| I Depend On:
| portal:service=Module,type=IdentityServiceController
| Depends On Me:
| portal:service=InterceptorStackFactory,type=Server
|
| ObjectName: portal:service=InterceptorStackFactory,type=Se
| State: CONFIGURED
| I Depend On:
| portal:service=Interceptor,type=Server,name=SessionLoc
| portal:service=Interceptor,type=Server,name=Transactio
| portal:service=Interceptor,type=Server,name=UserEvent
| portal:service=Interceptor,type=Server,name=SessionInv
| portal:service=Interceptor,type=Server,name=User
| portal:service=Interceptor,type=Server,name=Locale
| portal:service=Interceptor,type=Server,name=PortalCont
| portal:service=Interceptor,type=Server,name=ContentTyp
| Depends On Me:
| portal:service=InterceptorRegistration,type=Server,nam
|
| ObjectName: portal:service=Interceptor,type=Command,name=C
| State: CONFIGURED
| I Depend On:
| portal:service=ControlPolicy,type=Portal
| Depends On Me:
| portal:service=InterceptorStackFactory,type=Command
|
| ObjectName: portal:service=Interceptor,type=Command,name=P
| State: CONFIGURED
| I Depend On:
| portal:service=ServerConfig
| portal:service=PortalAuthorizationManagerFactory
| portal:container=PortalObject
| Depends On Me:
| portal:service=InterceptorStackFactory,type=Command
|
| ObjectName: portal:service=InterceptorStackFactory,type=Co
| State: CONFIGURED
| I Depend On:
| portal:service=Interceptor,type=Command,name=ResourceA
| portal:service=Interceptor,type=Command,name=Ajax
| portal:service=Interceptor,type=Command,name=Navigatio
| portal:service=Interceptor,type=Command,name=PortalNod
| portal:service=Interceptor,type=Command,name=PolicyEnf
| portal:service=Interceptor,type=Command,name=PageCusto
| portal:service=Interceptor,type=Command,name=Control
| portal:service=Interceptor,type=Command,name=EventBroa
| Depends On Me:
| portal:service=Controller
|
| ObjectName: portal:service=Hibernate
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=Module,type=IdentityServiceController
|
| ObjectName: portal:service=Hibernate,type=Instance
| State: CONFIGURED
| I Depend On:
| jboss.jca:service=DataSourceBinding,name=PortalDS
| Depends On Me:
| portal:service=InstanceContainerContext
|
and this goes on for awhile. So once the server is up, I tried going to the test URL and when I do, I get:
| javax.servlet.ServletException: java.lang.NullPointerException
| org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:276)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
| root cause
|
| java.lang.NullPointerException
| org.jboss.portal.core.impl.model.portal.PersistentPortalObjectContainer.getObjectNode(PersistentPortalObjectContainer.java:252)
| org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:100)
| org.jboss.portal.core.impl.model.portal.AbstractPortalObjectContainer.getContext(AbstractPortalObjectContainer.java:80)
| org.jboss.portal.core.model.portal.DefaultPortalCommandFactory.doMapping(DefaultPortalCommandFactory.java:72)
| org.jboss.portal.core.controller.Controller.handle(Controller.java:208)
| org.jboss.portal.server.RequestControllerDispatcher.invoke(RequestControllerDispatcher.java:51)
| org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131)
| org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
| org.jboss.portal.server.servlet.PortalServlet.service(PortalServlet.java:250)
| javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
| org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
|
|
Is there anywhere in the docs about how to install Portal to a separate JBoss installation? The docs that come with just the Portal simply reference the Portal + AS package, which is essentially turn-key and not really an installation per se.
Thanks for any help,
Tacho
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136733#4136733
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136733
18 years, 1 month
[JBossWS] - Call a web service
by rodosa
Hello!
I'm new in JbossWS. I have been looking into the documentation but... I'm a bit lost. I've generated a web service that I can see at http://localhost:8080/jbossws/services. My problem is how I can access form a client application ... and if I have to produce something with wstools.
I notice that wsdl file is automaticaly created in data folder of Jboss 4.2.2. But what happens with wsconsume tools? I've executed and this created me several files. I have to use them to call my web service? or ... I have to do something similar to
| String urlstr = "http://127.0.0.1:8080/proyecto/JbpmService?wsdl";
|
| URL url = new URL(urlstr);
|
| QName qname = new QName("http://ws/",
| "JbpmService");
|
|
| ServiceFactory factory = ServiceFactory.newInstance();
| Service service = factory.createService(url, qname);
|
|
This second option doesn't works for me because the following exception is thrown:
| Exception in thread "main" java.lang.IllegalArgumentException: Cannot obtain wsdl service: {http://ws/}JbpmService
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:172)
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:134)
| at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:86)
| at org.jboss.ws.core.jaxrpc.client.ServiceImpl.<init>(ServiceImpl.java:111)
| at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157)
| at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128)
| at client.JbpmWSClient.main(JbpmWSClient.java:61)
|
how I could solucionate this problem?
Thanks
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136702#4136702
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136702
18 years, 1 month
[EJB 3.0] - Re: Email from the ejb layer
by glad01
Sorry for the vagueness of this post. I think I was throwing the hook in the water with no bait on it to see what would appear showing my frustration. It occurred to me after this post that the request that comes in via the web service is persisted to the database (postgres) via EntityManager, then the information is pushed to a mainframe, then the response from the mainframe is updated to the database and returned to the client. So this whole transactional flow was disrupted when I tried to email (some alert because who knows how that legacy system is going to respond). Hibernate had its grip on the request object and threw all sorts of transaction errors when I tried to send and email. So I put the alert on a JMS queue spawning an asynchronous thread to take care of the notification. Response time is a huge requirement from the client and this pulled it out of the "flow". Again sorry for the lack of information.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4136693#4136693
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4136693
18 years, 1 month