Performace is definitely one thing. But more than that, i am just curious to
know if there is a straightforward way to getting to know the access type
(local or remote) in the bean instance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946610#3946610
Reply
I am not sure what the problem could be. I have been using local interfaces in
4.0.2 perfectly fine. Did you bind your local EJB with in
jboss.xml file while deploying ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945873#3945873
Reply to the post :
ht
All EJB by default use JRMP invoker where there is no timeout configuration
that can be done. For that to happen, you need to use PooledInvoker and set the
SocketTimeOut attribute of it. Below is how you need to do it ...
1] Firstly, edit the jboss-service.xml to set the SocketTimeout attribute
Well ! i am actually trying to simulate streaming behaviour in a session bean.
As we know IO streams are not serilizable and hence can not be used in EJB
method return types, I am trying to put together a generic framework which can
simulate the streaming behaviour. I got pretty successful in it
Hi,
Is there a way in stateful bean instance to know if it is being accessed by a
local or remote client at present ? Two ways to know are - one when u have
different arguments create() methods in their local and remote home interface,
and secondly if u declare methods of different names or args
I have an ear file that consists of two jars and one war. Now if i need to
patch out 2/3 class files of one of the constituent jars, what is the standard
way of doing it ?
In a standalone envioronment (outside of an app server), we generally put the
class files in exploded package/directory form
Thanks for your answer. I do appreciate. But i have some apprehensions
modifying the source code - I think Jboss controlls all code changes , patch
etc, and doing on our own probably might not be legal.
Hence, we have implemented a work-around. When we need re-delivery, we add the
message back
Sorry.. but i still dont find the answer in the help link.. My specific
question is
Is there a way to view the scheduled messages ( i.e. scheduled for redelivery)
?
Because i could see that anything that is not acked by the MDB in CLIENT_ACK
mode increases the scheduledMessageCount by 1 w
We have a JMS Queue configured with a MDB listening to it in jboss-4.0.2 . In
onMessage() of MDB, I am throwing a runtime exception at the end of the method
which makes the msg to be redelivered. But during that time (before
redelivering), if i use QueueBrowser , i dont get to see the item. In
we want to make the web service highly available with a simple load-balancing .
One way we explored is to use the apache modjk in the front-as suggested in
jboss docs. But this leads to a single point of failure. What if apache goes
down ??
View the original post :
http://www.jboss.com/index.
Hi..
I have a webservice deployed in Jboss 4.0.2 and implememented with service end
point. Service is packaged as ear. is there a way to make it highly available -
clustering , HASigleton etc ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908985#3908985
Ya.. I guess two http ports in one jboss instance - one port for web apps,
another for web service is what i need to have. Anyone .. any idea of
accomplishing this ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3906233#3906233
Reply to the post :
http://w
Hi..
In Jboss4.0.2 , When I have the ws4ee WebServicePort and catalina http port
both as same, the web service works fine. However, if i change the web service
port to different from http port, web service calls result in connection
refused exception. Deployment looks fine, and also the WSDL s
Thanks. It works.. But could you please explain why it is needed to call
setRollBackOnly() ? My application didnt start any transaction, so a roll-back
was not necessary. Or, is it that JMS provider always invokes MDB onMessage()
on a transactional context implicitely ?
Anyway.. Thanks again. A
I am using jboss-4.0.2. We have a queue configured (with default
org.jboss.mq.pm.jdbc2.PersistenceManager) and send persistent TextMessage to it
from a client app. There is a MDB configured to consume in
Client_acknowledgement mode from this queue. When there is a problem in
processing the mess
Hi,
I couldnt configure file based persistence manager. The deployment fails with
ClassNotFoundException for rollinglogged persistence manager. When i searched
in jbossmq.jar, i couldnt find this class. Is file based persistence no longer
supported from jboss4.0 onwards? The version I am using
And also if i undeploy the EJB from A, it behaves correctly and i am not able
to aceess it from instance B's war app.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886770#3886770
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode
I have two JBOSS instances, A and B, running under default partition. I have
one ejb app running on A and one war app in B. Surprsingly, even if i make
server A down, i am able to access the EJB on A from B. Is it cached view on B
? But if I have both of them up, and just undeploy the EJB from A
, and set
Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false
Thanks Guys..
- Upankar
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882728#3882728
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=postin
ervice.xml , and set
Java2ClassLoadingCompilance and UseJbossWebLoader attributes as false
See it it works now..
- Upankar
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882727#3882727
Reply to the post :
http://www.jboss.org/index.html?module=
Following is the full trace :
04:03:33,714 INFO [STDOUT] java.rmi.ServerException: EJBException:; nested
exception is:
javax.ejb.EJBException: Invalid invocation, check your deployment
packaging, method=public abstract test.ejb.TestEJBInterface
test.ejb.TestEJBHome.create() throws
jav
Hi,
I get the exception (pasted below), when I try to invoke the create on home
from a war app. Also, this is happening only when both jar and war are in the
same JBOSS instance. This doesnt happen if i deploy them into two separate
JBOSS instances, and then access the EJB from the war. Also, i
Hi ,
Would like to know if there is anyway i can have a transactional web service
client with JBOSS WS ?
Upankar
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881825#3881825
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=
Thomas,
Thanks for ur response. It is working now.. there was something wrong in
setting.
Anyway, would like to know does jboss end point WS support transactions ? How
can I achieve that if my want my web service clients to be able to initiate a
transaction ?
Rgds,
Upankar
View the original
Hi,
I have deployed a JbossStyle web service using service end point. I want to
secure this using JBossWS security context.
Below is what i configured in login-config.xml. I have users.properties and
roles.properties in config folder
users.properties
25 matches
Mail list logo