[JBoss JIRA] Created: (JBPORTAL-1619) Multiple maximized windows
by Ovidiu Nichifor (JIRA)
Multiple maximized windows
--------------------------
Key: JBPORTAL-1619
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1619
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Portal Core
Affects Versions: 2.6 Final
Reporter: Ovidiu Nichifor
Assigned To: Julien Viet
Once you authenticate (admin/admin) you'll be brought to the default page of the user account. Suppose the default page contains the "Greetings" and "User" portlets. I have noticed something strange that i don't know if it is really a bug or a feature.
If you follow the next steps:
1. with your browser access: http://<hostname>:<port>/portal/auth/portal/default/default/JSPPortletWindow?windowstate=maximized
2. with your browser access: http://<hostname>:<port>/portal/auth/portal/default/default/UserPortletWindow?windowstate=maximized without normalize first the previous maximized window.
you'll have two windows that are both in the maximized state. Now, the portal should present to you the last maximized window.
If you try to normalize/minimize the maximized window, the portal will display the other maximized window instead of bringing you back to the page in the "normal" state (i.e. with all defined portlets on it).
Is this the way it should work? I've been digging in the JBoss Portal 2.6.ALPHA1 source code and i found a "ensureSingleMaximizedWindow" method in the "org.jboss.portal.theme.impl.strategy.MaximizingStrategyImpl" file that does nothing - only throws a FixMe exception. Both JBP-2.6.FINAL & JBP-2.6.ALPHA1 have the same behavior on the test case i described so i assume the maximizing strategy hasn't been changed.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months
[JBoss JIRA] Deleted: (JBAS-4894) port-component element not mapped
by Thomas Diesler (JIRA)
[ http://jira.jboss.com/jira/browse/JBAS-4894?page=all ]
Thomas Diesler deleted JBAS-4894:
---------------------------------
> port-component element not mapped
> ---------------------------------
>
> Key: JBAS-4894
> URL: http://jira.jboss.com/jira/browse/JBAS-4894
> Project: JBoss Application Server
> Issue Type: Sub-task
> Security Level: Public(Everyone can see)
> Reporter: Thomas Diesler
> Assigned To: Scott M Stark
>
> I can't find the port-component element mapped to the metadata model.
> <xsd:complexType name="generic-beanType">
> <xsd:sequence>
> <xsd:group ref="javaee:descriptionGroup"/>
> <xsd:element name="ejb-name" type="javaee:ejb-nameType"/>
> <xsd:element name="jndi-name" type="javaee:jndi-nameType" minOccurs="0"/>
> <xsd:element name="ejb-ref" type="javaee:jboss-ejb-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="ejb-local-ref" type="javaee:jboss-ejb-local-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="service-ref" type="javaee:jboss-service-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="security-identity" type="javaee:security-identityType" minOccurs="0"/>
> <xsd:element name="resource-ref" type="javaee:jboss-resource-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="resource-env-ref" type="javaee:jboss-resource-env-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="message-destination-ref" type="javaee:jboss-message-destination-refType" minOccurs="0" maxOccurs="unbounded"/>
> <xsd:element name="port-component" type="tns:port-component-type" minOccurs="0" maxOccurs="1"/>
> <!-- TODO: should we have a jndiEnvironmentRefsGroup in here? -->
> <xsd:group ref="javaee:jndiEnvironmentRefsGroup"/>
> </xsd:sequence>
> </xsd:complexType>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months
[JBoss JIRA] Created: (EJBTHREE-986) EJB3 Remoting cause BindException on load
by Yvan Borgne (JIRA)
EJB3 Remoting cause BindException on load
-----------------------------------------
Key: EJBTHREE-986
URL: http://jira.jboss.com/jira/browse/EJBTHREE-986
Project: EJB 3.0
Issue Type: Bug
Affects Versions: AS 4.2.0 GA
Environment: JBoss 4.2.0 GA, JDK 1.5.0_08-b03, Windows XP SP2
Reporter: Yvan Borgne
After a lot of call (>3000) to an EJB3 SLSB this exception is throwed :
org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://127.0.0.1:3873/]
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:530)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1550)
at org.jboss.remoting.Client.invoke(Client.java:530)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
at $Proxy0.bar(Unknown Source)
at client.Test.main(Test.java:22)
Caused by: java.net.BindException: Address already in use: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.SocksSocketImpl.connect(SocksSocketImpl.java:366)
at java.net.Socket.connect(Socket.java:516)
at org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:187)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:801)
at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:526)
at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122)
at org.jboss.remoting.Client.invoke(Client.java:1550)
at org.jboss.remoting.Client.invoke(Client.java:530)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
at org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
at $Proxy0.bar(Unknown Source)
at client.Test.main(Test.java:22)
at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
... 10 more
Jboss server and test client are on the same host.
For each call, a new TCP connection is opened, with a different local port. So there is also a performance problem.
Here is a simple code to reproduce :
-- EJB3 remote Interface --
package ejb;
import javax.ejb.Remote;
@Remote
public interface Foo {
public void bar();
}
-- EJB3 Implementation --
package ejb;
import javax.ejb.Stateless;
@Stateless
public class FooBean implements Foo {
public void bar() {
}
}
-- client --
package client;
import java.util.Properties;
import javax.naming.Context;
import javax.naming.InitialContext;
import ejb.Foo;
public class Test {
public static void main(String[] args) {
try {
Properties env = new Properties();
env.put(Context.PROVIDER_URL, "jnp://localhost:1099");
env.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces");
env.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory");
env.put("jnp.disableDiscovery", "true");
Context context = new InitialContext(env);
Foo foo = (Foo)context.lookup("FooBean/remote");
while(true) {
foo.bar();
}
} catch (Exception e) {
e.printStackTrace();
}
}
}
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
18 years, 9 months