[JBoss AOP] - Re: Jboss AOP with web services upon jboss
by abdujaparov
Does someone know how can I applay an advice to a web service jbossws?
I have the file:
jboss-aop.xml
ServiceAOPAspect.class in the package service
The file
web.xml
ServiceAOP.class in the package service
XMLReader.class in the package xml
XMLWriter.class in the package xml
I know how I can deploy the web service without the aspect (I create a jar file with an empty direcotry META-INF, a directory WEB-INF that contains the file web.xml and the directory classes that contains the packages with the class files.
Now I want applay the aspect definided in the ServiceAOPAspect.class to an operation of the web service ServiceAOP.
Where must I put the file ServiceAOPAspect.class and the jboss-aop.xml files?
In the war archive? If yes how must I compose this archive? In what directory must I put these 2 files?
Please help me I need that jboss AOP run correctly.
Thanks, bye bye.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097964#4097964
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097964
18Â years, 8Â months
[JBoss Messaging] - Messaging doesn`t startup becouse MaxSize has been exceeded
by amalcaraz
Hi all,
We have a serious problem with Pageable Channel support in JBoss Messaging 1.4.0.GA.
If you send, without consumers, MaxSize+n messages to a queue and you stop the application server it never start again.
When you try to start it, it throws this exception:
java.lang.IllegalStateException: Cannot load channel 2 since the fullSize parameter is too small to load all the required references, fullSize needs to be at least 200 it is currently 101
I think (I have studied your source code) it is because Messaging gets DownSizeCache messages in memory (to improve persistence), and when you stop the AS the number of messages in memory is MaxSize + DownCacheSize.
The test environment is:
JBoss Application Server 4.2.1
JBoss Messaging 1.4.0.GA
JDK 1.5.0 update 12
Windows XP / Linux RedHat
PostgreSQL 8.2.4
Could you help me to solve this issue?
Thanks in advance,
-Abel
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097961#4097961
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097961
18Â years, 8Â months
[JBossWS] - Concurrency issue in request handler chain
by bcowan
I have entered bug report JBWS-1859 to describe a bug we experienced when JBoss is restarted. If client applications are still actively making web service requests during the restart, the handler chain was usually populated with too many copies of the handlers. This doesn't seem to cause a major problem unless WS Security is active. In this case, the first WS Security handler removes the wsse header, so any subsequent WS Security handler throws an exception. As a result, the client receives the message "This service requires <wsse:Security>, which is missing" even though the header was included. Once this error starts to happen, the server will not recover until it's restarted.
Sample client and server code is attached to the bug report, and I've also included patch information on how to fix it.
Bruce
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4097960#4097960
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4097960
18Â years, 8Â months