The HTTP and Servelt transport invoker does't throw exeption that declarated on
remote method, that only throw some connection exception.
But if change source code,It will be work.
1. comment line isError = true; in ServletServerInvoker class,method
processRequest in try block on remote invocati
But it's work whis JbossCache(1.2.4.SP2) that is default for Jboss-4.0.4!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936192#3936192
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936192
---
I have two simple Enety bean :
| @Entity
|
@org.hibernate.annotations.Entity(optimisticLock=OptimisticLockType.DIRTY,dynamicUpdate=true)
| @Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
| public class TestDB implements Serializable {
| Long id;
| String message;
|
Thank you Tom.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935137#3935137
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935137
---
This SF.Net email is sponsored
I have Jboss cluster that include too Jboss server(4.0.2) and
Load-Balancer(Apache+mod-jk). My Servlet deploed only on the one server (for
example HTTPServerILServlet). Than I do request to this servlet throw
load-balancer sometimes i get No file found exeption, sometimes it's ok.
Quetion how i
Recomenadation for use ClientMonitorInterceptor with HTTPConnection to the JMS.
You must set PingPeriod(ms) time greater than TimeOut(s) time plus
RestInterval(s) time. Else you will cath AsyncFailure on the Client because
pong method will be execute less often then ping method.
View the origin
Thank you Adrian. I fixed this problem for me.
Sorry for my English:)
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865489#3865489
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865489
---
I use ClientMonitorIntecepor for disconnects clients that have been idle for to
long. My client used HTTPConnection (HTTPConnectionFactory) to subscribe to the
nondurable topic. If client don't receive messages during ClientTimeout time
interceptor close connection for it, because http connectio
I use HTTPConextionFacrory then subscribe to the topic and then kill client
without close connection. Server send message to this connection.
I try use ClientMonitorInterceptor for kill connection, and try change
PingPeriod in HTTPILConnection service but it does't work,connection not
removed f
What hapens when client subscribe to the JMS Topic, and after shutdown without
close jmsconnection?
I see this subsription valid in the topic and messages for it put to my data
base? How Long time this subscription will be life?Can i change this time or
remove it manualy on the server?
View th
I want blocked exucute some method on my MBean if that method execute allredy. I use
in my method doOperation
synchronized(this)
| {
| //some code..
| }
For example if Client 1 start remote invocation this method, and after some time
Client2 start remote invocation this method, Cl
I try deploy whis MDB in Jboss3.2.6RC2 use cluster configuration it work fine. Is it
bug in Jboss 4.0RC2?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849953#3849953
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849
I write simple MDB Bean. It's catch message and print this message.
My OnMessage function is:
Code:
| public void onMessage(Message msg) {
| TextMessage tm = (TextMessage) msg;
| try
| {
| System.out.println("onMessageMDB, recv text="
| + tm.getText());
| }
| catch(Throwa
Why there is no template for oracle? I use entity-command name="oracle-sequenceNode"
in LogicalNodes EJB. And data base shema alredy exists.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849386#3849386
Reply to the post :
http://www.jboss.org/index.html?mod
When I try to deploy my CMP bean's on JBoss4 i catch Exception:
2004-09-22 13:32:32,750 ERROR [org.jboss.ejb.EntityContainer] Starting failed
jboss.j2ee:jndiName=GroupTable,service=EJB
java.lang.IllegalStateException: auto-increment template not found
at
org.jboss.ejb.plugins.cmp.jdbc.JD
Please help me.
When I try to deploy CMP whis some select method under Jboss3.2.3 on Win2000, it's
work good, but on Linux i catch exception:
19:36:56,693 INFO [EjbModule] Deploying primerc
19:36:57,650 INFO [primerc] Table 'PRIMERC' create succesfull
19:36:57,652 ERROR [EntityContainer] Starti
I have tone CMP Bean whis relationship to itself.
Nodes
Nodes
nodeID
nodeID
parentID
parentID
and relatinship
one
Thanks Loubyansky for u help.Sorry for my English:)
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3824008#3824008";>View
the original post
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3824008>Reply
to the post
---
Ok.I'm understand. If I whant to use Jboss for casdade delte I must set
"fk-constraint" option to false and set flag im my ejb-jar file.If i
whant that Database do cascade delete i must don't set in my ejb-jar
file, but create in database fk-coinstraint, whis cascade-delete option.
View the o
Yes. It's work when i set to false. But can i do it this
to true value?For example I have Other Aplication(that execute not under Jboss) that
work this data base, and I whant remove any row from whis table whis cade delete from
child table?
View the original post :
http://www.jboss.org/index
Hi.
I am use JBoss 3.2.3+Oracle9i or MS SQLSERVER 2000.
When i try create to table(Table1 and Table2) and create Relationship beetwin them
(one2many) whis cascade deleting, JBoss succesfull create tables and Relationship but
it does not create cascade deleting flag in database and cascade deleti
21 matches
Mail list logo