[JBoss-user] [Persistence & CMP/JBoss] - Re: Foreign key constraint not added as requested ...

2004-07-11 Thread tomerbd
PS I'm using jboss3.2.5, and had the same problem on jboss3.2.4 the relationship constraints wern't created while jboss created the tables on my database View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841687#3841687 Reply to the post : http://www.jboss

[JBoss-user] [Persistence & CMP/JBoss] - Foreign key constraint not added as requested ...

2004-07-11 Thread tomerbd
I'm using mysql , jboss. following is the important part of my jbosscmp-jdbc.xml, notice the preferred-relation-mapping tag... | | | java:/MySqlDS | mySQL | true | true | foreign-key | | | I received this message from jboss : Foreign key const

[JBoss-user] [Clustering/JBoss] - Re: ClassCastException when looking up HAPartition via JNDI

2004-07-11 Thread aggiaggi
Thx for the quick answer. Best regards Gerd View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841685#3841685 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841685 ---

[JBoss-user] [EJB/JBoss] - Re: how to add/remove data from many-to-many CMR?

2004-07-11 Thread didi
can you give me a paragraph number please? 10.3.4 explains removing from a relationship. As far as I understood it you just have to entityBean2.remove() and entityBean2 gets removed from the relationship of entityBean1 (suggest there was a relationship between entityBean1 and entityBean2). Is

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
However one could isolate the access of JNI functionality in a wrapper RMI object and then an MDB could become a client to the RMI object and access the jni functionality INDIRECTLY... Scott? can u help us if I am wrong... thanks in advance View the original post : http://www.jboss.org/ind

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
However one could isolate the access of JNI functionality in a wrapper RMI object and then an MDB could become a client to the RMI object and access the jni functionality directly... Scott? can u help us if I am wrong... thanks in advance View the original post : http://www.jboss.org/index.h

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread dev2gosoft
HmmmIt is my understanding that EJBContainers do no allow access to JNI functionality...? Am i Wrong??? Scott??? any thoughts on this View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841681#3841681 Reply to the post : http://www.jboss.org/index.html?m

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMP with MS Access

2004-07-11 Thread mprk
Use the SQL Server data mapping (i.e. MS SQLSERVER2000). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841680#3841680 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841680

[JBoss-user] [Clustering/JBoss] - Re: Registering Beans deployed on all servers to a single JN

2004-07-11 Thread pankilshah82
Hi scott, I am a new on JBoss. Does this mean that i have to make a cluter of all the JBoss servers having the beans and give the IPAddress of any one, so that a failover or redeployment of beans in another JBoss server gets reflected in the JNDI. Is there a single JNDI service running in the cl

[JBoss-user] [Beginners Corner] - Re: Installation Tutorial

2004-07-11 Thread sampaw
mike, thanks for your help. I broke my arm on fri so i wont bothr with alot of punc, sorry, "mikefinn" wrote : It is unusual that starting from a freshly unpacked distro does not work. Did you change the config? Only after it did not work. 1st I determined java_home was not set, set it. fixed

[JBoss-user] [Clustering/JBoss] - Re: Registering Beans deployed on all servers to a single JN

2004-07-11 Thread [EMAIL PROTECTED]
Then create an external jndi context that binds the root of the sole jndi server and have all reference bound into it. The existence of the different servers will not be transparent to the client from a connection standpoint, only where they do the initial lookup. The HAJNDI server gives this be

[JBoss-user] [Clustering/JBoss] - Registering Beans deployed on all servers to a single JNDI i

2004-07-11 Thread pankilshah82
Hi all, I am stuck with a problem. I want that there should be only one JNDI in the network and all the clients using the services of any beans gets the reference of any bean from the same JNDI. I want that whatever may be the situation even if i deploy the bean on some other server with differe

[JBoss-user] [Clustering/JBoss] - Re: ClassCastException when looking up HAPartition via JNDI

2004-07-11 Thread [EMAIL PROTECTED]
This code cannot work outside of the jboss server. The HAPartition implementation is no serializable and able to function outside of the vm in which the partition service was configured. You would have to write your own rpc proxy using the detached invoker framework or interact with the service

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.jms.InvalidDestinationException

2004-07-11 Thread pankilshah82
hi, Thank You for your suggestion. I solved the problem before ur post. Actually i read the Online documentation and was able to solve it. I would post the solution as soon as possible. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841674#3841674 Reply to th

[JBoss-user] [EJB/JBoss] - Re: Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread [EMAIL PROTECTED]
Create a bug report on sourceforge with the jni code and example as this would require debugging into the c/c++ layer to see what might be going on. http://sourceforge.net/tracker/?group_id=22866&atid=376685 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38416

[JBoss-user] [EJB/JBoss] - Problem with MDB which uses JNI and raw sockets

2004-07-11 Thread walkman
We wrote a small program which uses JNI and raw sockets. There were no problems when we used it outside Jboss. The problem starts only when we try to use this code from an MDB. We tried to put the *.so lib in the jboss /bin directory. When the Jboss gets to the part when it needs to send the pa

[JBoss-user] [Clustering/JBoss] - ClassCastException when looking up HAPartition via JNDI

2004-07-11 Thread aggiaggi
Hello, I need help on the following problem: I get a ClassCastException when I try to lookup the DefaultPartion via JNDI from within client code. I run jboss 3.2.2 in the shipped "all" configuration and have only jbossall-client.jar in the client's CLASSPATH. Here is my code: import java.util.

[JBoss-user] [JBoss.NET & SOAP] - My wsdl has no messages defined!

2004-07-11 Thread zeke7237
I've got a session bean, tagged for jboss.net, explicit tag-exposed methods. I get wsdl from the deployed system, but no messages. The web-service.xml list the allowed methods which match the tagged methods. The typedefs look OK, just no method/message defs! What the heck is going on? generated

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-11 Thread StephaneNicoll
Well I might misunderstand your question, true, but back to your first post: QueueConnectionFactory qf = (QueueConnectionFactory) ctx.lookup("java:/JmsXA"); qf.createQueueConnection(); will work in your Mbean. Then you can do whatever you want with the connection (returns it to the caller for

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-11 Thread yxyang
hi I think StephaneNicoll misunderstand my question. It is not the issue of java:/JmsXA or java:/Jms. I also know how to use resource adapter in ejb by define entries in ejb-jar.xml file etc. My question is how to use resource adapter outside of ejb? e.g., like JMX bean. Andrian, can you gi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-11 Thread StephaneNicoll
Also, the Wiki contains code that shows how to use java:/JmsXA with XDoclet in a Session Bean. http://www.jboss.org/wiki/Wiki.jsp?page=JmsSenderBean View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841664#3841664 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: how to get the managed jms connectionfactory outside the

2004-07-11 Thread StephaneNicoll
(4) read Adrian's post one more time. The name is java:/JmsXA not java:/Jms ... Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841663#3841663 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841663 -

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBossMQ, JMS Message in transaction?

2004-07-11 Thread StephaneNicoll
Show the code that sends the message to QueueA in your session bean. It should NOT use JMS transacted session (i.e. pass true when you create your JMS session). If your Session Bean is enlisted to a JTA transaction, sending of the JMS message will also be enlisted automatically. Regards, Steph

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.jms.InvalidDestinationException

2004-07-11 Thread StephaneNicoll
Read the FAQ, Adrian added an entry on that subject. Regards, Stephane View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841662#3841662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841662

[JBoss-user] [HTTPD, Servlets & JSP] - Problem in Developing Custom Actions in Tomcat 4.0

2004-07-11 Thread pankilshah82
http://jakarta.apache.org/taglibs/tutorial.html#basic_tag_library The link that i have pasted above is the link to develop a very simple custom action. That custom action displays "hello world". But this example does not work on Tomcat 4. It displays a blank page with some doctype automatically

[JBoss-user] [EJB/JBoss] - Re: EJB QL performance

2004-07-11 Thread loubyansky
Read the free docs and wiki. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841659#3841659 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841659 --- This SF.Net emai

[JBoss-user] [Persistence & CMP/JBoss] - Re: CMR constant join in compound primary key

2004-07-11 Thread loubyansky
Here you map a field to a column, not the value in the column. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841658#3841658 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841658 --