[JBoss Tools] New message: "Re: JBoss AS WTP server adapter removes deployment module"
by Denis Golovin
User development,
A new message was posted in the thread "JBoss AS WTP server adapter removes deployment module":
http://community.jboss.org/message/530256#530256
Author : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin
Message:
--------------------------------------------------------------
I can get the same only when at first I use JBoss AS adapter by default with deployment into .metadata/plugins/org.jboss.ide.eclipse.as.core folder. Then I switch to direct deployment of exploded archives to JBoss AS deploy folder and then make a change in any JEE module. In this case only changed files appear in new deploy folder in JBoss AS.
I'm using last most recent version from 3.1.x which is GA candidate now.
I have no files created .settings folder like you mentioned and I'm to reproduce it on EAR projects with two EJB and one Web module.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530256#530256
16 years, 1 month
[Performance Tuning] New message: "Re: HTTP threads waiting on JIOEndpoint$Worker.await"
by Peter Johnson
User development,
A new message was posted in the thread "HTTP threads waiting on JIOEndpoint$Worker.await":
http://community.jboss.org/message/530243#530243
Author : Peter Johnson
Profile : http://community.jboss.org/people/peterj
Message:
--------------------------------------------------------------
The waiting threads are expected. These are threads that are in the pool waiting to be assigned to process a user request.
Given the think time and number of users, and assuming that the requests are evenly distributed across the think time (in other words, all 150 users are NOT starting thinking at the same time and after 40 seconds making their requests all at the same time), and if a user request takes about 500 milliseconds to process, you will have about 2 requests in the system at any one time: (150 / 40) * 0.5
So how long does a request take? Are you monitoing the number of active HTTP threads? You might have to do some digging to uncover the bottleneck, You might also consider running on physical hardware instead of in a VM just for comparison.
BTW, please don't bold your entire post.
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530243#530243
16 years, 1 month
[JBoss Tools Development] New message: "Re: Content Assist in attributes which should be filled with id's"
by Denis Golovin
User development,
A new message was posted in the thread "Content Assist in attributes which should be filled with id's":
http://community.jboss.org/message/530242#530242
Author : Denis Golovin
Profile : http://community.jboss.org/people/dgolovin
Message:
--------------------------------------------------------------
I'm just brainstorming what would it be:
1. Enabling/disabling facelets on Dynamic Web Project which would modify required resources and add required libraries;
2. New wizards to create templates with selection from predefined layouts like: header/body, header/body/footer, header/left/body/footer and etc...
3. Template/component extraction (this one I heard from Alexander Smirnov) - select region/node in current jsp and then convert it into facelet component/template. Vice versa case also could be useful but it is not a priority.
4. Search for facelets elements references
5. Refactoring (is based on 4):
- renaming/moving template files
- renaming facelet elements like ui:insert@name value
6. Content assist improvements (see Maxim example)
7. Content assist Templates (see XML templates for XML editor or ant build.xml editor)
8. .... list is still open you name it
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530242#530242
16 years, 1 month
[JBoss Portal] New message: "IPC JSR 286 complex object as event"
by antoine seilles
User development,
A new message was posted in the thread "IPC JSR 286 complex object as event":
http://community.jboss.org/message/530226#530226
Author : antoine seilles
Profile : http://community.jboss.org/people/natoine
Message:
--------------------------------------------------------------
I try to communicate an objetc from a portlet to another using EventPortlet.
My event is a serializable object.
I have the following error when testing my portlets :
Cause: java.lang.IllegalArgumentException: The provided event value type fr.natoine.annotations_persistence.selection.SelectionHTML does not have a valid jaxb annotation
Message: The provided event value type fr.natoine.annotations_persistence.selection.SelectionHTML does not have a valid jaxb annotation
My object/event code :
@Entity
public class SelectionHTML extends Selection
{
@Column(name = "SELECTIONHTML_CONTENT")
private String content;
public String getContent() {
return content;
}
public void setContent(String content) {
this.content = content;
}
}
SelectionHTML extends Selection :
@MappedSuperclass
@Table(name = "SELECTION")
@Inheritance(strategy = InheritanceType.SINGLE_TABLE)
public abstract class Selection implements Serializable
{
@Id @GeneratedValue
@Column(name = "SELECTION_ID")
private Long id;
@Column(name = "SELECTION_URL_SOURCE")
private String url_source;
@Column(name = "SELECTION_BEGIN")
private String begin;
@Column(name = "SELECTION_END")
private String end;
public Selection(){};
public Long getId() {
return id;
}
public String getUrl_source() {
return url_source;
}
public void setUrl_source(String urlSource) {
url_source = urlSource;
}
public String getBegin() {
return begin;
}
public void setBegin(String begin) {
this.begin = begin;
}
public String getEnd() {
return end;
}
public void setEnd(String end) {
this.end = end;
}
}
I use Hibernate Annotations cause i use these classes for persistence.
I declare my event in portlet.xml :
<event-definition>
<qname>annotation-selection</qname>
<value-type>fr.natoine.annotations_persistence.selection.Selection</value-type>
</event-definition>
And i send my event :
SelectionHTML _selection_html = new SelectionHTML();
_selection_html.setUrl_source(request.getParameter("url"));
_selection_html.setContent(request.getParameter("text_selection"));
_selection_html.setBegin(request.getParameter("xpointer_start"));
_selection_html.setEnd(request.getParameter("xpointer_end"));
response.setEvent("annotation-selection", _selection_html);
--------------------------------------------------------------
To reply to this message visit the message page: http://community.jboss.org/message/530226#530226
16 years, 1 month