[JBoss JIRA] Created: (JGRP-563) Consolidate state transfer API to use streams
by Vladimir Blagojevic (JIRA)
Consolidate state transfer API to use streams
---------------------------------------------
Key: JGRP-563
URL: http://jira.jboss.com/jira/browse/JGRP-563
Project: JGroups
Issue Type: Task
Reporter: Vladimir Blagojevic
Assigned To: Vladimir Blagojevic
Fix For: 3.0
Although streaming state transfer has its advantages over byte based state transfer, byte based state transfer is absolutely necessary since streaming based transfer relies on plain sockets that are not firewall friendly. However, that does not mean that we cannot consolidate state transfer API at application level and mask byte based transfer with streams. We have already done this in JBC 2.0 so there is no reason not to do it on JGroups level as well.
Advantages:
- simpler state transfer API
- interchangeable state transfer mechanism without affect on application
- simplification of client application
Disadvantages:
- we break current API by eliminating getState(byte[]) and setState(byte [])
--
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
13 years, 8 months
[JBoss JIRA] Created: (JGRP-567) Add one shot state transfer for multiple substates
by Vladimir Blagojevic (JIRA)
Add one shot state transfer for multiple substates
--------------------------------------------------
Key: JGRP-567
URL: http://jira.jboss.com/jira/browse/JGRP-567
Project: JGroups
Issue Type: Feature Request
Affects Versions: 2.x
Reporter: Vladimir Blagojevic
Assigned To: Vladimir Blagojevic
Currently (2.5) each sub state transfer requires separate state transfer invocation for each sub state. It would be very convenient if we could transfer a list of substates all in one underlying state transfer. This would require introduction of a new method in JChannel API, however we should avoid additional callbacks on application level. Proposed API for additional JChannel method is:
public boolean getState(Address target, List<String> state_ids, long timeout) throws ChannelNotConnectedException, ChannelClosedException;
--
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
13 years, 8 months
[JBoss JIRA] Created: (JBAS-4078) DeploymentManager.getAvailableModules() returns null
by Libor Kotouc (JIRA)
DeploymentManager.getAvailableModules() returns null
----------------------------------------------------
Key: JBAS-4078
URL: http://jira.jboss.com/jira/browse/JBAS-4078
Project: JBoss Application Server
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Deployment services
Affects Versions: JBossAS-5.0.0.Beta2
Environment: JBoss 5.0.0.beta2 trunk build 20070206, JDK 1.5.0_08
Reporter: Libor Kotouc
Assigned To: Dimitris Andreadis
Priority: Critical
This issue blocks an integration of JBoss AS 5 into NetBeans IDE.
Steps to reproduce the behavior:
1. create a simple web application and copy the .war file into the deploy directory (I used the 'default' server)
2. start JBoss server (./run.sh)
3. run the following code from a J2SE application (I added JBoss jars to the classpath):
public class Main {
public static void main(String[] args) {
try {
javax.enterprise.deploy.spi.factories.DeploymentFactory df = new org.jboss.deployment.spi.factories.DeploymentFactoryImpl();
javax.enterprise.deploy.spi.DeploymentManager dm;
dm = df.getDeploymentManager("http://org.jboss.deployment/jsr88", null, null);
javax.enterprise.deploy.spi.Target[] targets = dm.getTargets();
javax.enterprise.deploy.spi.TargetModuleID[] modules;
modules = dm.getAvailableModules(javax.enterprise.deploy.shared.ModuleType.WAR, targets);
System.out.println(targets.length + " " + targets[0]);
System.out.println(modules);
} catch (javax.enterprise.deploy.spi.exceptions.DeploymentManagerCreationException ex) {
} catch (javax.enterprise.deploy.spi.exceptions.TargetException ex) {
}
}
}
The output of System.out.println statements is:
1 org.jboss.deployment.spi.JMXTarget@161d36b
null
I expect the module representing the web application, but null is returned.
--
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
13 years, 11 months
[JBoss JIRA] Created: (SECURITY-56) SecurityContextAssociation missing in client path
by Thomas Diesler (JIRA)
SecurityContextAssociation missing in client path
-------------------------------------------------
Key: SECURITY-56
URL: http://jira.jboss.com/jira/browse/SECURITY-56
Project: JBoss Security and Identity Management
Issue Type: Bug
Security Level: Public (Everyone can see)
Reporter: Thomas Diesler
Assigned To: Anil Saldhana
bin/twiddle.sh doe not work in AS5.0 because of missing security classes.
A scan on client jars shows that SecurityContextAssociation is not part of any client jar
[tdiesler@jbws jboss-5.0.0.Beta3]$ bin/twiddle.sh -s jnp://jbws2:1099 get jboss.system:type=Server Started
Exception in thread "main" java.lang.NoClassDefFoundError: org/jboss/security/plugins/SecurityContextAssociation
at org.jboss.proxy.SecurityActions$1.getPrincipal(SecurityActions.java:57)
at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:58)
at org.jboss.proxy.ClientMethodInterceptor.invoke(ClientMethodInterceptor.java:74)
at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:101)
at $Proxy0.getAttributes(Unknown Source)
at org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:168)
at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305)
--
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
13 years, 11 months