[JBoss-user] [Persistence & CMP/JBoss] - Deleting a row in cmr entity bean
hi , i am having two entity beans which are having a reference(like deptartment and employee related with deptcode) and both are having only local interfaces, and am having a session bean which interacts with these 2 entity beans to perform the required tasks and the client can communicate through this stateless bean only. my problem is when am trying to delete a row in child table (employe table). the foreign key is getting a null value assigned and the employee details (empcode,empname, salary...) are still existing in the employee table. can anyone suggests with the working example to completely delete the employee row( not by exposing the employee entity bean as remote without session bean). thanks in advance Akhil View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838624#3838624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838624 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Basic Settings for Executting Jsp and Servlets...Plz
Hello Every Body! Actually I am new to JBoss and JBoss Community.. Problem I am having is that I am unable to run Servlets using JBoss Could any body help me that what steps should I follow to resolve this issue. Thanks![/img] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838623#3838623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838623 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Extremely verbose debug mode?
Ohh yes, there is. Very fine grained. You will have to study the log4j configuration for JBoss and for Tomcat. But beware of enough harddisk space - have seen 20GByte of logfiles :) There are DEBUG and TRACE level, access logs, all what you wish to not needing it. bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838620#3838620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838620 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Getting shared memory error
You are facing a Oracle memory configuration problem, she could not allocate enough memory - maybe because of fragmentation of the server side memory. If you knowing google you will get by searching for ORA-04031 for example: http://www.cryer.co.uk/brian/oracle/ORA04031.htm bax View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838619#3838619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838619 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - problem with auto discovery - help required please
Hi, I have set up a cluster with 2 nodes running on a LAN. When I provide the comma-separated provide urls, the client is able discover the nodes and every thing is fine. But I would like to use the auto discovery feature. I am using all defaults in my cluster (DefaultPartition, HA-JNDI on 1100) and I get the following exception when I dont provide the provider url. javax.naming.CommunicationException: Failed to connect to server 0.0.0.0:1100 [Root exception is javax.naming.ServiceUnavailableException: Failed to connect to server 0.0.0.0:1100 [Root exception is java.net.ConnectException: Connection refused: connect]] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:215) at org.jnp.interfaces.NamingContext.discoverServer(NamingContext.java:1107) at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1223) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:514) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) at javax.naming.InitialContext.lookup(InitialContext.java:347) at MyTest.main(MyTest.java:33) Caused by: javax.naming.ServiceUnavailableException: Failed to connect to server 0.0.0.0:1100 [Root exception is java.net.ConnectException: Connection refused: connect] at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:190) ... 6 more Caused by: java.net.ConnectException: Connection refused: connect at java.net.PlainSocketImpl.socketConnect(Native Method) at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:305) at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:169) at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:158) at java.net.Socket.connect(Socket.java:452) at java.net.Socket.connect(Socket.java:402) at java.net.Socket.(Socket.java:309) at java.net.Socket.(Socket.java:211) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:69) at org.jnp.interfaces.TimedSocketFactory.createSocket(TimedSocketFactory.java:62) at org.jnp.interfaces.NamingContext.getServer(NamingContext.java:186) Am I missing some thing ? Any help would be very helpful... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838618#3838618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838618 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Where should I config the data source ?
Go to the /doc/examples/jca directory of you jboss installation. There are example configurations for many databases. You'll probably find the config file that suit to you database. The hsqldb-ds.xml is an example for hypersonic database. You must put the file file in your deploy dir after adjusting required parameter. Of course, the driver class needs to be loaded onto jboss classpath. The lib directory of your config set is a good place. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838617#3838617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838617 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - strange errors with UIL2
We're using JBoss 3.2.3 on Windows 2000, with the default Hypersonic SQL persistence. We are trying to get UIL2 to work as the IL for connections to remote destinations (just queues, in our case). So we form connections to remote queues using "UIL2ConnectionFactory", and to local ones with the recommended "java:/ConnectionFactory" that gives you the JVM IL. Most of our JMS configuration is the same as the default, except that we totally turned off OIL/OIL2/RMI ILs by taking the files oil-service.xml etc. out of deploy/jms. We did this because we found OIL to be too unstable, and intended not to use it at all in our system. We're finding that often on startup, the UIL2 connections to remote queues often (but not always) fail with this error: 2004-06-14 00:05:30,039 ERROR [org.jboss.mq.il.uil2.SocketManager] Exiting on unexpected error in read task java.lang.IllegalArgumentException: Invalid msgType: 0 at org.jboss.mq.il.uil2.msgs.BaseMsg.createMsg(BaseMsg.java:158) at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:287) at java.lang.Thread.run(Thread.java:534) Then onException() for our ExceptionListener for that remote connection gets called. This read error seems kind of strange, because this remote connection is used only to send messages, never receive them. I believe the error occurs as soon as we first try to send a message over the connection. On the receiving side, there is a JVM IL connection to the destination queue. Could mixing UIL2 and JVM IL cause this kind of problem? Or is it likely something else? Any advice will be greatly appreciated. :-) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838616#3838616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838616 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: How to bind an MBean to JNDI, then access from within ap
Hi James, Can you please tell me how you bound your MBean to JNDI and how you accessed it in your client application then? Can you please show me some code? I was trying to do the same, but it does not work. Thanks a lot, Marion View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838615#3838615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838615 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Where should I config the data source ?
"meissa" wrote : in the deploy dir of your config set. | As an example you can see hsqldb-ds.xml in the deploy directory of the default config set. | Thanks for your reply. So, should I just edit the hsqldb.xml in my deploy dir ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838614#3838614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838614 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Container auth for datasource in mbean
Hello folks, I wrote a small mbean. I need to access Database in this mbean. (may be I shouldn't? use a session/entity bean?) I tried usual conext.lookup ("java:/DefaultDS"); and it seems to work fine except for the fact that I have to specify user name and password in ds.getConnection () method. In servlets/entityB/session bean I could specify Container in the deployment descriptor and the container took care of auth. Is there an equivalent for mbeans? Thanks -a View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838613#3838613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838613 --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Tomcat - JBOSS Principal propagation
Hello! I'm using JBoss 3.2.1 and Tomcat 4.1 (not the jboss embedded version). There's a simple page login.jsp where the user can login into the application; the auth method used is FORM and the userid & password are validated again a Directory server. On the web tier the login completes successfully and redirect to a page that calls a stateless session bean The question is: 1) How I can propagate the Principal obtained by request.getCallerPrincipal()? I suppose must do this when create InitialContext()..., but I can set on the InitialContext environment only strings. So I saw the SECURITY_PRINCIPAL property that holds the principal name (my username), but in this way on the EJB (JBoss) tier I must perform the authentication again...and I must do this every time I invoke method on a EJB !!! Help please... Andrea --- This SF.Net email is sponsored by the new InstallShield X. >From Windows to Linux, servers to mobile, InstallShield X is the one installation-authoring solution that does it all. Learn more and evaluate today! http://www.installshield.com/Dev2Dev/0504 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user