[JBoss JIRA] (ARQ-1749) Retrieve httpPort from MBean when not provided in configuration
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1749?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul updated ARQ-1749:
------------------------------
Summary: Retrieve httpPort from MBean when not provided in configuration (was: auto discover httpPort from Container)
> Retrieve httpPort from MBean when not provided in configuration
> ---------------------------------------------------------------
>
> Key: ARQ-1749
> URL: https://issues.jboss.org/browse/ARQ-1749
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: WebSphere Containers
> Affects Versions: was_1.0.0.Alpha2
> Reporter: Aslak Knutsen
> Assignee: Gerhard Poul
>
> The exposed MBean WebSphere/endpoint/channelfw/defaultHttpEndpoint contain Host and Port attributes which could be used if httpPort is not configured in arquillian.xml.
> The Container require serverName to detect which VM is running, and as long as you have the VM you have the httpPort info. Defaulting to the 'defaultHttpEndpoint' should remove a few possible error configurations.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1749) auto discover httpPort from Container
by Gerhard Poul (JIRA)
[ https://issues.jboss.org/browse/ARQ-1749?page=com.atlassian.jira.plugin.s... ]
Gerhard Poul reassigned ARQ-1749:
---------------------------------
Assignee: Gerhard Poul
> auto discover httpPort from Container
> -------------------------------------
>
> Key: ARQ-1749
> URL: https://issues.jboss.org/browse/ARQ-1749
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: WebSphere Containers
> Affects Versions: was_1.0.0.Alpha2
> Reporter: Aslak Knutsen
> Assignee: Gerhard Poul
>
> The exposed MBean WebSphere/endpoint/channelfw/defaultHttpEndpoint contain Host and Port attributes which could be used if httpPort is not configured in arquillian.xml.
> The Container require serverName to detect which VM is running, and as long as you have the VM you have the httpPort info. Defaulting to the 'defaultHttpEndpoint' should remove a few possible error configurations.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1778) Add OSGi container support for bundle autostart
by Martin Basovnik (JIRA)
[ https://issues.jboss.org/browse/ARQ-1778?page=com.atlassian.jira.plugin.s... ]
Martin Basovnik edited comment on ARQ-1778 at 5/23/14 9:40 AM:
---------------------------------------------------------------
Feature is implemented for karaf managed container.
was (Author: mbasovni):
I would like to create a unit test for this feature but I do not want to modify {{arquillian.xml}} file. I have created *ResourceProvider* for container configuration class but injection into my test works only in _client_ tests ({{@RunAsClient}}). When I modify the configuration in client test and then execute another _in-container_ test, some classes are missing in deployed bundle (e.g. {{KarafManagedContainerConfiguration}} and others). Why? I do not use this class in this test, only in that client test. How can I inject configuration via {{@ArquillianResource}} (it is already implemented) into in-container test? Or how to make a client test independent of in-container test?
> Add OSGi container support for bundle autostart
> -----------------------------------------------
>
> Key: ARQ-1778
> URL: https://issues.jboss.org/browse/ARQ-1778
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: OSGi Containers
> Reporter: Martin Basovnik
> Assignee: Thomas Diesler
>
> Add OSGi container support for bundle autostart.
> Container configuration will contain new property *autostartBundle*. This will cause autostart of every deployed bundle. Property type will be {{boolean}} and default value {{false}}.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1778) Add OSGi container support for bundle autostart
by Martin Basovnik (JIRA)
[ https://issues.jboss.org/browse/ARQ-1778?page=com.atlassian.jira.plugin.s... ]
Martin Basovnik updated ARQ-1778:
---------------------------------
Description:
Add OSGi container support for bundle autostart.
Container configuration will contain new property *autostartBundle*. This will cause autostart of every deployed bundle. Property type will be {{boolean}} and default value {{false}}.
was:
Bundle is not started automaticly after deployment. It is possible to use annotation {{@StartLevelAware(autostart = true)}} for specific test now.
Add new global container property *autostartBundle*. This will cause autostart of every deployed bundle via container's public method {{deploy(Archive<?> archive)}}. If either annotation of specific bundle or container property will have positive value bundle will be started. One setting with positive value will always override the second one with negative value.
Property type will be {{boolean}} and default value {{false}}.
> Add OSGi container support for bundle autostart
> -----------------------------------------------
>
> Key: ARQ-1778
> URL: https://issues.jboss.org/browse/ARQ-1778
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: OSGi Containers
> Reporter: Martin Basovnik
> Assignee: Thomas Diesler
>
> Add OSGi container support for bundle autostart.
> Container configuration will contain new property *autostartBundle*. This will cause autostart of every deployed bundle. Property type will be {{boolean}} and default value {{false}}.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1778) Add OSGi container support for bundle autostart
by Martin Basovnik (JIRA)
[ https://issues.jboss.org/browse/ARQ-1778?page=com.atlassian.jira.plugin.s... ]
Martin Basovnik updated ARQ-1778:
---------------------------------
Summary: Add OSGi container support for bundle autostart (was: Add global container setting for bundle autostart after deployment.)
> Add OSGi container support for bundle autostart
> -----------------------------------------------
>
> Key: ARQ-1778
> URL: https://issues.jboss.org/browse/ARQ-1778
> Project: Arquillian
> Issue Type: Feature Request
> Security Level: Public(Everyone can see)
> Components: OSGi Containers
> Reporter: Martin Basovnik
> Assignee: Thomas Diesler
>
> Bundle is not started automaticly after deployment. It is possible to use annotation {{@StartLevelAware(autostart = true)}} for specific test now.
> Add new global container property *autostartBundle*. This will cause autostart of every deployed bundle via container's public method {{deploy(Archive<?> archive)}}. If either annotation of specific bundle or container property will have positive value bundle will be started. One setting with positive value will always override the second one with negative value.
> Property type will be {{boolean}} and default value {{false}}.
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month
[JBoss JIRA] (ARQ-1777) Test hangs on remote Tomcat 6
by Pramod Kankure (JIRA)
[ https://issues.jboss.org/browse/ARQ-1777?page=com.atlassian.jira.plugin.s... ]
Pramod Kankure commented on ARQ-1777:
-------------------------------------
I debugged this and it happens in copy method of IOUtils.
The reason for that is setting of setFixedLengthStreamingMode and then using buffer of 4096 size. This causes problem. Removal of setFixedLengthStreamingMode fixes the issue. Can existing contributors fix this?
> Test hangs on remote Tomcat 6
> -----------------------------
>
> Key: ARQ-1777
> URL: https://issues.jboss.org/browse/ARQ-1777
> Project: Arquillian
> Issue Type: Bug
> Security Level: Public(Everyone can see)
> Reporter: Pramod Kankure
>
> I have observed that test hangs when executing on tomcat 6 remote container.
> My arquillian.xml looks like below. ( I don't use authentication for jmx)
> <?xml version="1.0" encoding="UTF-8"?>
> <arquillian xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns="http://jboss.org/schema/arquillian"
> xsi:schemaLocation="http://jboss.org/schema/arquillian
> http://jboss.org/schema/arquillian/arquillian_1_0.xsd">
> <group qualifier="Grid" default="true">
> <defaultProtocol type="Servlet 3.0" />
> <container qualifier="remote-tomcat1" default="true">
> <configuration>
> <property name="httpPort">1776</property>
> <property name="host">localhost</property>
> <property name="jmxPort">8090</property>
> </configuration>
> </container>
> </group>
> </arquillian>
> The test do stops with an error when the server is down or wrong HTTP port is specified. It does execute @deployment method of the test but never comes to execute the test method annoted with [~test.todd]
--
This message was sent by Atlassian JIRA
(v6.2.3#6260)
10 years, 1 month