[Beginners Corner] - Re: How to disable login+password popup when calling JBossWS
by PeterJ
JBoss EAP comes with a readme.html file that highlights the differences between AS and EAP. Wait, the EAP binary download doesn't have the readme; instead it is in the docs download. In that file you will see this text:
readme wrote : If you are using the rpm, or the zip distribution, please note that by default, authentication is enabled and no user accounts are set up. This is done to prevent unauthorized access to various services of JBoss AS. Please refer to the Installation Guide, or see http://kbase.redhat.com/faq/FAQ_107_9963.shtm for information on how to make the services accessible again.
Thus, EAP is locked down. Not only are all of the services secured, but there is no way to log in to any of them.
I just now installed devstudio. It doesn't contain this readme. How convenient. But looking at some key files it appears that the version of EAP that comes with devstudio is not locked down. I guess this makes sense because this version of EAP is meant for development use.
However, the /jbossws context is still locked down. Curious. I guess they forgot to unlock it. Anyway, edit the server/xxx/deploy/jbossws.sar/jbossws-context.war/WEB-INF/jboss-web.xml file, commenting out the security-domain:
<jboss-web>
| <!-- A security domain that restricts access
| <security-domain>java:/jaas/jmx-console</security-domain>
| -->
| <context-root>jbossws</context-root>
| </jboss-web>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187076#4187076
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187076
17 years, 5 months
[JBoss Portal] - JBoss configuration with Microsoft Sharepoint Server
by lgadams
Hi,
I am trying to prove the concept that a Microsoft Sharepoint Server can consume jboss portlets. I am using JBoss Portal + JBoss AS 4.2.3 2.6.7.GA
with WSRP. I would like to be able to add a WSRP web part in sharepoint that will contain the sample weather portlet from JBoss. I went into the portlet's jboss-portlet.xml file and made the portlet remotable. I have then cofigured the TrustedWSRPProducers.config on the Sharepoint server to point to the WSRP services for jboss
http://localhost:8080/portal-wsrp/ServiceDescriptionService
http://localhost:8080/portal-wsrp/RegistrationService
http://localhost:8080/portal-wsrp/MarkupService
http://localhost:8080/portal-wsrp/PortletManagementService
This does not seem to work. Sharepoint says that an error was thrown on the jboss portal server. This is the error I have found in the server's log file.
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] Transitioning from XML_VALID to DOM_VALID
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer] deserialize: [xmlName={urn:oasis:names:tc:wsrp:v1:types}getMarkup,xmlType={urn:oasis:names:tc:wsrp:v1:types}>getMarkup]
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.binding.JBossXBDeserializer] deserialized: org.jboss.portal.wsrp.core.GetMarkup
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.XMLContent] objectValue: org.jboss.portal.wsrp.core.GetMarkup
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.soap.SOAPContentElement] -----------------------------------
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.EndpointInvocation] transformPayloadValue: org.jboss.ws.core.soap.SOAPBodyElementDoc -> org.jboss.portal.wsrp.core.GetMarkup
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.EndpointInvocation] syncEndpointInputParam: org.jboss.portal.wsrp.core.GetMarkup -> org.jboss.portal.wsrp.core.GetMarkup(0)
2008-11-05 12:24:01,845 DEBUG [org.jboss.portal.wsrp.producer.WSRPProducerImpl] getMarkup invoked
2008-11-05 12:24:01,845 DEBUG [org.jboss.ws.core.jaxrpc.handler.MessageContextJAXRPC] Begin response processing
2008-11-05 12:24:01,845 ERROR [org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC] SOAP request exception
java.lang.IllegalArgumentException: Requires a non-null, non-empty registration handle
I am lost here and cant seem to figure out what is wrong. Does anyone know how to setup this kind of configuration?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187071#4187071
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187071
17 years, 5 months
[JBoss Portal] - Problem with JBoss Portal 2.7 HA using NFS deploy-directory
by gorefest
Hi,
JBoss Version : 4.2.3 GA
JBoss Portal : 2.7.0 HA
Operating System : OpenSuSE 11
JDK Version 1.6.0_06
I am facing the problem, that when I am using a central NFS deploy dir mounted to my two cluster members, my second server halts while booting.
After becoming a cluster member, the boot procedure stops and I am facing 100% CPU load by jvm.
Both servers mount the $JBOSS_HOME/server/all/deploy dir from my file server in order to save time when deploying new stuff.
my last log entry is
21:18:43,479 INFO [TomcatDeployer] deploy, ctxPath=/portal-wsrp-admin, warUrl=.../deploy/jboss-portal-ha.sar/portal-wsrp.sar/portal-wsrp-admin.war/
the server does not continue several minutes; after I shut down node 1 and node 1 disappearing from the cluster, the server continues starting...
Are there any known problems with using NFS deploy dirs?
Thanks in advance
gore
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187068#4187068
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187068
17 years, 5 months