[JBoss-user] [Remoting] - Servlet and HTTP invoket does't throw remote method Exceptio

2006-04-25 Thread dreyk
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 invocation.
2. In HTTPClientInvoker class to the end of method useHttpURLConnection
add folowing code:
if(result instanceof Throwable){
  |   throw new RuntimeException("server 
error",((Throwable)result)); 
  |   }
In thise case you may catch you Exception, thar was declareted.

Ideal ServletServerInvoker must try catch exception that declareted for remote 
method,and translate it.

Why in current implementation remoting this does't support? 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3939193#3939193

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3939193


---
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Simple OneToMany Realtion does't work this cache in Jbos

2006-04-10 Thread dreyk
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


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Simple OneToMany Realtion does't work this cache in Jboss-4.

2006-04-10 Thread dreyk
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;
  | Set rel;
  | @OneToMany(mappedBy="test", cascade=CascadeType.REMOVE)
  | public Set getRel() {
  | return rel;
  | }
  | public void setRel(Set rel) {
  | this.rel = rel;
  | }
  | @Id
  | @GeneratedValue(strategy=GenerationType.IDENTITY)
  | public Long getId() {
  | return id;
  | }
  | public void setId(Long id) {
  | this.id = id;
  | }
  | public String getMessage() {
  | return message;
  | }
  | public void setMessage(String message) {
  | this.message = message;
  | }
  | 
  | }
  | 

  | @Entity
  | 
@org.hibernate.annotations.Entity(optimisticLock=OptimisticLockType.DIRTY,dynamicUpdate=true)
  | @Cache(usage = CacheConcurrencyStrategy.TRANSACTIONAL)
  | public class TestRel implements Serializable {
  | TestDB test;
  | int curindex;
  | 
  | @Id
  | public int getCurindex() {
  | return curindex;
  | }
  | public void setCurindex(int curindex) {
  | this.curindex = curindex;
  | }
  | @ManyToOne
  | @JoinColumn(name = "id")
  | public TestDB getTest() {
  | return test;
  | }
  | public void setTest(TestDB test) {
  | this.test = test;
  | }
  | }
  | 
Wile I try load TestDB entity i catch exception :

  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.impl.SessionImpl] opened 
session at timestamp: 11446576431
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.jdbc.JDBCContext] 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.jdbc.JDBCContext] successfully 
registered Synchronization
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Looking for a JTA transaction to join
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] 
Transaction already joined
  | 2006-04-10 12:27:23,117 DEBUG [org.hibernate.cache.TransactionalCache] 
cache lookup: Test.TestDB#1
  | 2006-04-10 12:27:23,117 DEBUG [org.jboss.cache.interceptors.TxInterceptor]  
local transaction exists - registering global tx if not present for 
Thread[http-0.0.0.0-8080-2,5,jboss]
  | 2006-04-10 12:27:23,120 DEBUG [org.hibernate.cache.TransactionalCache] 
cache hit
  | 2006-04-10 12:27:23,121 DEBUG [org.hibernate.jdbc.JDBCContext] 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 2006-04-10 12:27:23,121 DEBUG [org.hibernate.jdbc.JDBCContext] 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 2006-04-10 12:27:23,121 DEBUG 
[org.jboss.ejb3.entity.ManagedEntityManagerFactory] ** closing 
entity managersession **
  | 2006-04-10 12:27:23,121 DEBUG [org.hibernate.jdbc.JDBCContext] 
TransactionFactory reported no active transaction; Synchronization not 
registered
  | 2006-04-10 12:27:23,121 DEBUG [org.jboss.cache.interceptors.TxInterceptor] 
Running rollback phase
  | 2006-04-10 12:27:23,121 DEBUG [org.jboss.cache.interceptors.TxInterceptor] 
Found local TX=TransactionImpl:XidImpl[FormatId=257, GlobalId=manager/42, 
BranchQual=, localId=42], global TX=GlobalTransaction::16
  | 2006-04-10 12:27:23,122 DEBUG [org.jboss.cache.interceptors.TxInterceptor] 
Found local TX=TransactionImpl:XidImpl[FormatId=257, GlobalId=manager/42, 
BranchQual=, localId=42], global TX=GlobalTransaction::16
  | 2006-04-10 12:27:23,122 DEBUG [org.jboss.cache.interceptors.TxInterceptor] 
Finished local commit/rollback method for GlobalTransaction::16
  | 2006-04-10 12:27:23,122 DEBUG [org.jboss.cache.interceptors.TxInterceptor] 
Finished rollback phase
  | 2006-04-10 12:27:23,122 DEBUG 
[org.jboss.remoting.transport.servlet.ServletServerInvoker] Error thrown 
calling invoke on server invoker.
  | javax.ejb.EJBException: java.lang.ArrayIndexOutOfBoundsException: 1
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:192)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:98)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInt

[JBoss-user] [Remoting] - Re: Can't invoke EJB3.0 throw servlet connector

2006-04-05 Thread dreyk
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 by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [HTTPD, Servlets & JSP] - How configure JBoss for use Servlet that deploy only on the

2005-03-31 Thread dreyk
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 can configure cluster for solve whis problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872154#3872154

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872154


---
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/info/Sentarus/hamr30
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Question about ClientMonitorInterceptor

2005-02-07 Thread dreyk
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 original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865591#3865591

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865591


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Question about ClientMonitorInterceptor

2005-02-06 Thread dreyk
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


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Question about ClientMonitorInterceptor

2005-02-05 Thread dreyk
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 connection is stateles and 
client don't ping server even I set PingPeriod for http connection to some 
value difference from 0, and "getClientStats(dc).lastUsed" value udate only if 
client receive any message from the server. But client send sends post request 
to the server for get messages from temprory queu. May be I can change 
ClientMonitorInterceptor or HTTPClientILStorageQueue.java for update lastUsed 
value in ClinetMonitorInterceptor then client do post if even no message it 
temprory queue? If it's possible how I can do it? Or I do not right uderstand 
how it's work?

Now I use simple sevice that send simple test message to the topic every time 
do detect that client is not killed yet(in this case lastUsed time update every 
time than client recieve message, because he is used receive method for it).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865383#3865383

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865383


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - No I don't use durable topic.

2005-02-04 Thread dreyk
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 from the server.
Please help me.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865168#3865168

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865168


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - How remove topic subsription if cliet does't close connectio

2005-02-02 Thread dreyk
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 the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3864826#3864826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3864826


---
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Synchronization method call in my MBean?

2004-09-30 Thread dreyk
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, Client2 will wait until invocation from 
Client1 return result. I write simple MBean for test it.
 
public class MyMbean extends org.jboss.system.ServiceMBeanSupport {
  | 
  |   String name = "simple";
  |   public void start() throws java.lang.Exception {   
  |   }
  | 
  |   public String getName(){
  | return name;
  |   }
  | 
  |   public void stop() {
  |   }
  | 
  |   public void doOperation(String name,long time){
  | System.out.println("start operation " + name);
  | synchronized(this){
  | try{
  |   Thread.currentThread().sleep(time);
  | }
  | catch(Exception e){
  |   e.printStackTrace();
  | }
  | this.name = name;
  | System.out.println("stop operation " + name);
  |   }
  |   }
  | }

This exaple work fine.
Is it right method to solve my problem, or under Jboss i must use another method? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849984#3849984

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849984


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - Re: My MDB does't work in singleton mod on cluster. Help me.

2004-09-29 Thread dreyk
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=3849953


---
This SF.net email is sponsored by: IT Product Guide on ITManagersJournal
Use IT products in your business? Tell us what you think of them. Give us
Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more
http://productguide.itmanagersjournal.com/guidepromo.tmpl
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS & JBossMQ] - My MDB does't work in singleton mod on cluster. Help me.

2004-09-29 Thread dreyk
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(Throwable t) 
  | { 
  | t.printStackTrace(); 
  | } 
  | } 

ejb-jar: 
Code: 
 
  |  
  |  
  | Enterprise1 
  | MyMDB 
  | testcluster.MyMDBBean 
  | Bean 
  | Auto-acknowledge 
  |  
  | javax.jms.Queue 
  |  
  |  
  |  
  |  
  | 
  | 
  | MyMDB 
  | * 
  | 
  | Required 
  |  
  |  
  |  



jboss.xml is: 
Code: 

 
  |  
  | Singleton Message Driven Bean 
  | MyMDB 
  | queue/testQueue 
  |  
  |  



Then I send message to Queue MDB work fine, catch message and print it. 
But after some time i catch exceptin in my jboss log file 
Code: 
15:21:03,765 ERROR [DLQHandler] Stopping failed DLQHandler 
  | org.jboss.mq.SpyJMSException: Cannot disable the connection with the JMS server; 
  | - nested throwable: (java.io.IOException: Client is not connected) 
  | at org.jboss.mq.Connection.doStop(Connection.java:1289) 
  | at org.jboss.mq.Connection.stop(Connection.java:718) 
  | at org.jboss.ejb.plugins.jms.DLQHandler.stopService(DLQHandler.java:184) 
  | 
  | at org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSu 
  | pport.java:319) 
  | at org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:18 
  | 2) 
  | at org.jboss.system.ServiceMBeanSupport.jbossInternalDestroy(ServiceMBea 
  | nSupport.java:355) 
  | at org.jboss.system.ServiceMBeanSupport.destroy(ServiceMBeanSupport.java 
  | :197) 
  | at org.jboss.ejb.plugins.jms.JMSContainerInvoker.destroyService(JMSConta 
  | inerInvoker.java:894) 
  | at org.jboss.ejb.plugins.jms.JMSContainerInvoker$ExceptionListenerImpl.o 
  | nException(JMSContainerInvoker.java:1271) 
  | at org.jboss.mq.Connection.asynchFailure(Connection.java:446) 
  | at org.jboss.mq.il.uil2.UILClientILService.asynchFailure(UILClientILServ 
  | ice.java:145) 
  | at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleStop(SocketManager. 
  | java:400) 
  | at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:33 
  | 2) 
  | at java.lang.Thread.run(Thread.java:534) 
  | Caused by: java.io.IOException: Client is not connected 
  | at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager. 
  | java:226) 
  | at org.jboss.mq.il.uil2.SocketManager.sendMessage(SocketManager.java:192 
  | ) 
  | at org.jboss.mq.il.uil2.UILServerIL.setEnabled(UILServerIL.java:162) 
  | at org.jboss.mq.Connection.doStop(Connection.java:1285) 
  | ... 13 more 
  | 15:21:03,796 INFO [JMSContainerInvoker] Reconnected to JMS provider 
and Log file:

2004-09-29 12:17:07,390 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Initializing
  | 2004-09-29 12:17:07,390 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Looking up provider adapter: java:/DefaultJMSProvider
  | 2004-09-29 12:17:07,390 DEBUG [org.jboss.ejb.plugins.jms.JMSContainerInvoker] 
Provider adapter: [EMAIL PROTECTED]
  | 2004-09-29 12:17:07,390 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Creating 
DLQHandler
  | 2004-09-29 12:17:07,390 DEBUG [org.jboss.mq.il.uil2.SocketManager] End 
WriteTask.run
  | 2004-09-29 12:17:07,421 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] Extracting 
SpyConnectionFactory from reference
  | 2004-09-29 12:17:07,437 DEBUG 
[org.jboss.mq.referenceable.SpyConnectionFactoryObjectFactory] The 
GenericConnectionFactory is: [EMAIL PROTECTED] 
connectionProperties={UIL_ADDRESS_KEY=192.168.6.15, UIL_CHUNKSIZE_KEY=100, 
UIL_TCPNODELAY_KEY=yes, ClientILService=org.jboss.mq.il.uil2.UILClientILService, 
UIL_PORT_KEY=8093, UIL_BUFFERSIZE_KEY=2048, PingPeriod=6}]
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.ejb.plugins.jms.DLQHandler] Using 
factory: [EMAIL PROTECTED]
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
ReadTask.run
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Begin 
WriteTask.run
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectOutputStream
  | 2004-09-29 12:17:07,437 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
  | 2004-09-29 12:17:07,453 DEBUG [org.jboss.mq.il.uil2.SocketManager] Created 
ObjectInputStream
  | 2004-09-29 12:17:07,453 DEBUG [org.jboss.mq.il.uil2.UILClientILService] Starting
  | 2004-09-29 12:17:07,453 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
Setting up the UILClientIL Connection
  | 2004-09-29 12:17:07,453 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] 
The UILClientIL Connection is set up
  | 2004-0

[JBoss-user] [Persistence & CMP/JBoss] - Re: Problem deploy CMP Bean under Jboss4.0RC2

2004-09-24 Thread dreyk
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?module=bb&op=posting&mode=reply&p=3849386


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Problem deploy CMP Bean under Jboss4.0RC2

2004-09-22 Thread dreyk
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.JDBCStartCommand.addField(JDBCStartCommand.java:909)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.getEntityCreateTableSQL(JDBCStartCommand.java:741)

I don't use auto-increment in GroupTable.

But under jboss_3.2.3 It's work good.

My jbosscmp-jdbc.xml is:

 
  | 
  | java:/OracleDS
  | Oracle9i
  | true
  | false
  | true
  | 
  | 
  |
  | LogicalNodes
  | LogicalNodes
  | 
  | nodeID
  | nodeID
  | 
  | 
  | parentID
  | parentID
  | 
  | 
  | name
  | name
  | 
  | 
  | type
  | type
  | 
  | 
  | logicalID
  | logicalID
  | 
  | 
  |  
  | NODE_SEQUENCE 
  | 
  | 
  | 
  | UserTable
  | UserTable
  | 
  | role
  | role
  | 
  | 
  | password
  | password
  | 
  | 
  | userName
  | userName
  | 
  | 
  | groupName
  | groupName
  | 
  | 
  | 
  | LogicalRoles
  | LogicalRoles
  | 
  | logicalID
  | logicalID
  | 
  | 
  | groupName
  | groupName
  | 
  | 
  | 
  | GroupTable
  | GroupTable
  | 
  | groupName
  | groupName
  | 
  | 
  | 
  | 
  | 
  | logicalNodes-logicalNodes
  | 
  | 
  | 
LogicalNodesRelationshipRole
  | 
  | 
  | logicalID
  | parentID
  | 
  | 
  | 
  | 
  | 
LogicalNodesRelationshipRole1
  | 
  | 
  | 
  | logicalNodes-logicalRoles
  | 
  | 
  | 
LogicalNodesRelationshipRole
  | 
  | 
  | logicalID
  | logicalID
  | 
  | 
  | 
  | 
  | 
LogicalRolesRelationshipRole
  | 
  | 
  | 
  | groupTable-userTable
  | 
  | 
  | 
GroupTableRelationshipRole
  | 
  | 
  | groupName
  | groupName
  | 
  | 
  | 
  | 
  | 
UserTableRelationshipRole
  | 
  | 
  | 
  | groupTable-logicalRoles
  | 
  | 
  | 
GroupTableRelationshipRole
  | 
  | 
  | groupName
  | groupName
  | 
  | 
  | 
  | 
  | 
LogicalRolesRelationshipRole
  | 
  | 
  | 
  | 
  | 

Where is my problem?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3849093#3849093

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3849093


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Difference between Linux and Win2000?

2004-03-15 Thread dreyk
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] Starting failed
org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT 
OBJECT(o) FROM primerc o WHERE o.st = ?1'; - nested throwable: 
(java.lang.NoSuchMethodError)
at org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.(JDBCEJBQLQuery.java:50)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCCommandFactory.createEJBQLQuery(JDBCCommandFactory.java:59)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCQueryManager.start(JDBCQueryManager.java:212)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:490)
.

My jboss-ql declaration is -


- 
  ejbSelectMethod1 
- 
  java.lang.String 
  
  
- 
-  
  
  
.

If i don't use this Select method, my cmp bean deploy under linux to.
What difference between Linux and Win2000?


http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825730#3825730";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825730>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Realationship

2004-03-12 Thread dreyk
I have tone CMP Bean whis relationship to  itself.

Nodes
Nodes

nodeID
nodeID

 
parentID
parentID


 
and relatinship
one to many.
ejb-jar.xml:

nodes-nodes

nodes

NodesRelationshipRole
One

nodes
Nodes


nodes
nodes
java.util.Collection



nodes

NodesRelationshipRole1
Many

nodes
Nodes



--
and jbosscmp-jdbc.xml:

nodes-nodes



NodesRelationshipRole


nodeID
parentID





NodesRelationshipRole1


-
when I next mesods:
Nodes nodes = nodesHome.findByPrimaryKey(new Long(1));
Collection collection = nodes.getNodes();
Iterator iterator = collection.iterator();
iterator.getNaxt();
iterator.remove();

I see,that forein key field that coresponding to the records that i remove,set to null 
value, but i don't do "nodes.setNodes(collection).
Is't normall behavior for Jboss3.2.3?


http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3825391#3825391";>View 
the original post

http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3825391>Reply 
to the post


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: CASCADE DELETE

2004-03-03 Thread dreyk
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


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: CASCADE DELETE

2004-02-29 Thread dreyk
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 original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823462#3823462

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823462


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: CASCADE DELETE

2004-02-29 Thread dreyk
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.html?module=bb&op=viewtopic&p=3823461#3823461

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823461


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - CASCADE DELETE

2004-02-27 Thread dreyk
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 deleting does not 
work.
Can you help me?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823313#3823313

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823313


---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user