[Design of AOP on JBoss (Aspects/JBoss)] - Re: Help needed to create a patch.
by kabir.khan@jboss.com
Hi Werner,
1)
I accepted your developer contract thing, but since we have had very few external committers to jboss aop and this process is new, I am unsure about how it works. I will make some enquiries, but the lead of jboss.org is on holiday.
2-5)
For testing we do two things
a) Make sure that the tests in aop/ itself do not fail with your changes, i.e.
| cd aop/
| ant -f build-tests-jdk50.xml tests
|
b) Make sure the test does not break the in AS tests
Check out jboss application server version 5.1.0.GA and build it
| svn co https://svn.jboss.org/repos/jbossas/tags/JBoss_5_1_0_GA/
| cd JBoss_5_1_0_GA/build
| ./build.sh
| cd output/jboss-5.1.0/bin
|
Update the aop version in the built AS.
Set up the pluggable-instrumentor.jar in the built bin/ directory and modify the run.sh to use it (if you need more detail here let me know)
Start the server:
| ./run.sh -c all
|
| |
| | In another console build and run the tests
| |
| | | cd JBoss_5_1_0_GA/testsuite
| | | ./build.sh
| | | ./build.sh test -Dtest=aop
| | | ./build.sh smoke-tests-raw
| | |
| |
| | Once that is done you can create a diff and upload it to JIRA and we'll take it from there :-)
| |
| | Hope this helps
| |
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249348#4249348
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249348
16 years, 7 months
Message to be Posted
by Neelambary R
Hi,
I have deployed my web service application in two machines. I am doing
performance testing using JMeter by firing large number of requests i.e; web
service calls (at the rate of 160 requests/ minute). For some of the
requests I am getting the following exceptions (Stack trace given below).
The issue is more frequent when machine1 redirects the web service call to
machine2.
Http11Processor] Error finishing response
java.lang.NullPointerException
at
org.apache.tomcat.util.http.MimeHeaders.setValue(MimeHeaders.java:26)
at
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Procesor.java:1537)
at
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java:962)
at org.apache.coyote.Response.action(Response.java:180)
at
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOututBuffer.java:388)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.jav:906)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.ProcessConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
----------------------------------------------------------------
[Http11BaseProtocol] Error reading request, ignored
java.lang.NullPointerException
at
org.apache.tomcat.util.http.MimeHeaders.clear(MimeHeaders.java:129)
at org.apache.coyote.Response.recycle(Response.java:578)
at
org.apache.coyote.http11.InternalOutputBuffer.nextRequest(InternalOutputBuffer.java:355)
at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:929)
at
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)
I had a guess that this is an issue with tomcat container's trequest timeout
or some stuff similar to that. I tried changing parameters like
'acceptCount', 'socketBuffer', 'maxKeepAliveRequests', 'maxSpareThreads',
'minSpareThreads', 'maxThreads', 'maxHttpHeaderSize' etc. in server.xml file
but in vain.
I have also tried to increase the web service timeout period on redirecting
from machine1 to machine2 but this also did not help.
Any hints?
All sorts of suggestions are appreciated.
Thanks in Advance,
Viorel Jesson Peterson
16 years, 7 months
[Design of JBoss Tools (dev)] - Code Assist for Custom Components
by Kragoth
Hey guys,
I'm working on a project where we heavily utilise custom components. And by following the instructions provided in the documentation I have been able to get custom code assist to work for us :D (Very happy).
Relevant doco section: 3.1.2.5. Adding dynamic code assist to custom components that were added to JBoss Tools Palette
However, this solution is rather limiting because if I have multiple workspaces my code assist is the same between both of them. So if I'm working on a branch of my code base I'm still getting the autocomplete that is set up for the head of my code base.
The step that causes this limitation is this:
| Add information on your xml file in <JBDS_home>/studio/eclipse/plugins/org.jboss.common.kb_***/plugin.xml
| <tld
| jsf="true"
| name="Jenia Faces"
| schema-location="schemas/tld/myJSF.xml"
| uri="http://www.jenia.org/jsf/dataTools"/>
|
Is there any chance that sometime in the future this could be changed so that each workspace can setup the tld/xsd file associations seperately?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4249315#4249315
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4249315
16 years, 7 months