[Design of JBoss Portal] - Re: Plan to improve CMS integration
by julien@jboss.com
normally, the portal-cms.sar will be nested in jboss-portal.sar so the problem will not exist (coordinated by the build system once all artifacts have been created)
I agree that for development we have to find a way to make it more usable.
"roy.russo(a)jboss.com" wrote : There are problem with the core-cms:
|
| 1. You *must* deploy the jboss-portal.sar first, and then the portal-cms.sar. If you do not, the cms will not deploy at all, due to some issues with security/identity.
|
| 2. If you deploy the portal-cms.sar in a running instance of AS, it will create all the resources.
| a. File creation is sloooooow.
| b. Also, when you log in to the cmsAdminPortlet, it doesn't show the root directory so you can't do anything. I wouldn't be surprised if this is also related to identity integration.
|
|
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002794#4002794
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002794
19 years, 2 months
[Design the new POJO MicroContainer] - Re: Bean definition as value add problem (JBMICROCONT-28)
by scott.stark@jboss.org
support for javabean ctors is working:
| <javabean xmlns="urn:jboss:javabean:2.0"
| class="org.jboss.test.javabean.support.SimpleBean">
| <!--
| public SimpleBean(Object anObject, String string, Byte byte1,
| Boolean boolean1, Character character, Short short1,
| Integer anInt, Long long1, Float float1, Double double1,
| Date date, BigDecimal bigDecimal, BigInteger bigInteger,
| byte abyte, boolean aboolean, char achar, short ashort,
| int anint2, long along, float afloat, double adouble,
| Number number, String overloadedProperty, String xyz, String abc)
| -->
| <constructor>
| <!-- The name is not used for parameter matching, its just for info -->
| <property name="anObject">anObjectValue</property>
| <property name="AString">StringValue</property>
| <property name="AByte">12</property>
| <property name="ABoolean">true</property>
| <property name="ACharacter">x</property>
| <property name="AShort">123</property>
| <property name="anInt">1234</property>
| <property name="ALong">12345</property>
| <property name="AFloat">3.14</property>
| <property name="ADouble">3.14e12</property>
| <property name="ADate">Jan 01 00:00:00 CET 2001</property>
| <property name="ABigDecimal">12e4</property>
| <property name="ABigInteger">123456</property>
| <property name="abyte">12</property>
| <property name="aboolean">true</property>
| <property name="achar">y</property>
| <property name="ashort">123</property>
| <property name="anint">1234</property>
| <property name="along">12345</property>
| <property name="afloat">3.14</property>
| <property name="adouble">3.14e12</property>
| <property name="ANumber" class="java.lang.Long">12345</property>
| <property name="overloadedProperty">StringValue</property>
| <property name="XYZ">XYZ</property>
| <property name="abc">abc</property>
| </constructor>
| </javabean>
|
I'm not able to check these changes in currently though as svn seems to still be down from the upgrade effort.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002672#4002672
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002672
19 years, 2 months
[Design of JBoss Remoting, Unified Invokers] - Re: Detached invokers are too detached from the transport
by ron.sigal@jboss.com
I have implemented a version of the solution I suggested above and checked it in to the Remoting HEAD and remoting_2_x branches.
1. There are a couple of changes. First, the listener interface, org.jboss.remoting.socketfactory.SocketCreationListener, is
| public interface SocketCreationListener
| {
| /**
| * Called when a socket has been created.
| *
| * @param socket socket that has been created
| * @param source SocketFactory or ServerSocket that created the socket
| * @throws IOException
| */
| void socketCreated(Socket socket, Object source) throws IOException;
| }
|
and there are two distinct configuration keys for incorporating listeners into socket factories and server sockets:
org.jboss.Remoting.SOCKET_CREATION_CLIENT_LISTENER (with value "socketCreationClientListener")
and
org.jboss.Remoting.SOCKET_CREATION_SERVER_LISTENER (with value "socketCreationServerListener")
The reason for distinguishing these is that the same configuration Map can get passed to both a server and a client. For example, it could be passed to a Connector and then later to a Client used by the Connector to push callbacks. Finally, to support configuration by InvokerLocator or xml, the value of the listener parameter can be the name of a class that implements SocketCreationListener and has a default constructor.
2. The solution works for the following transports: bisocket, sslbisocket, https, multiplex, sslmultiplex, rmi, sslrmi, socket, and sslsocket. It does not work for the http transport and for the server side of the servlet transport. The reason it doesn't work for http is that HttpURLConnection does not expose its socket factory (though HttpsURLConnection does). It should be possible to write a custom http protocol handler for this purpose, but I won't unless is there is a specific request. And invocations with the servlet transport go through a servlet container, which is outside the scope of Remoting.
3. The implementation is based on the classes: CreationListenerSocketFactory, CreationListenerServerSocketFactory, and
CreationListenerServerSocket in the package org.jboss.remoting.socketfactory. CreationListenerSocketFactory wraps the SocketFactory that would otherwise be used, and calls the listener whenever a socket is created. CreationListenerServerSocketFactory wraps the ServerSocketFactory that would otherwise be used, and whenever a ServerSocket is created, it wraps that ServerSocket in a CreationListenerServerSocket, which calls the listener whenever it creates a socket.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4002613#4002613
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4002613
19 years, 2 months