[JBoss-user] [Installation & Configuration] - Re: JVM Crash
Do you mean:anonymous wrote : -XX:MaxPermSize=64m I've set this higher and it makes no difference. Relevant parts of the error trace are below: | Heap | def new generation total 26240K, used 23310K [0x02a2, 0x0469, 0x0469) | eden space 23360K, 99% used [0x02a2, 0x040e2a20, 0x040f) | from space 2880K, 0% used [0x040f, 0x040f1150, 0x043c) | to space 2880K, 0% used [0x043c, 0x043c, 0x0469) | tenured generation total 233024K, used 46801K [0x0469, 0x12a2, 0x12a2) |the space 233024K, 20% used [0x0469, 0x0768, 0x07444600, 0x12a2) | compacting perm gen total 34048K, used 33959K [0x12a2, 0x14b6, 0x1aa2) |the space 34048K, 99% used [0x12a2, 0x14b49d28, 0x14b49e00, 0x14b6) | No shared spaces configured. | | VM Arguments: | jvm_args: -Dprogram.name=run.bat -Xms256m -Xmx256m -XX:MaxPermSize=128m -Djava.endorsed.dirs=C:\Devtools\java\jboss-4.0.1\bin\\..\lib\endorsed | java_command: org.jboss.Main -c all View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867896#3867896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867896 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Configure an Oracle 9i data source
>From the trace it looks like you have called your deployment file >"my_oracle_ds.xml". Data sources have to end with "-ds.xml", so if you rename >your file "my_oracle-ds.xml", it will probably deploy fine. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865485#3865485 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865485 --- 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] [Installation & Configuration] - JVM Crash
I'm getting a lot of JVM crashes on JDK 1.5.0_01 on Win XP (1Gb Memory) and JBoss 4.0.1 Looking at the crash log (relevant buts posted below), it looks like the perm gen space is full, so I thought that I must have the wrong Xmx etc arguments when starting up JBoss. I've tried several different options however and none of them seem to stop the JVM crashing. Are there recommended settings or am I setting something incorrectly? Ta, Dave. Heap | def new generation total 52416K, used 28710K [0x02a2, 0x0630, 0x0630) | eden space 46592K, 61% used [0x02a2, 0x04628720, 0x057a) | from space 5824K, 0% used [0x05d5, 0x05d511b8, 0x0630) | to space 5824K, 0% used [0x057a, 0x057a, 0x05d5) | tenured generation total 466048K, used 56842K [0x0630, 0x22a2, 0x22a2) |the space 466048K, 12% used [0x0630, 0x09a82b58, 0x09a82c00, 0x22a2) | compacting perm gen total 36352K, used 36150K [0x22a2, 0x24da, 0x26a2) |the space 36352K, 99% used [0x22a2, 0x24d6db68, 0x24d6dc00, 0x24da) | No shared spaces configured. | | | VM Arguments: | jvm_args: -Dprogram.name=run.bat -Xms512m -Xmx512m -Djava.endorsed.dirs=C:\Devtools\java\jboss-4.0.1\bin\\..\lib\endorsed | java_command: org.jboss.Main -c all | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3865195#3865195 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3865195 --- 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] [Beginners Corner] - Re: How to change from initial default
You need to edit deploy/jbossweb-tomcat50.sar/server.xml Have a look on the Wiki http://www.jboss.org/wiki/Wiki.jsp?page=ConfigureServerPorts View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863047#3863047 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863047 --- 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] [JBossWS] - Re: Logging SOAP requests and responses
I use TCPMON (as an IntelliJ plugin). You don't need to use this as a plugin, you can use it as a standalone app also. See http://ws.apache.org/axis/java/developers-guide.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862871#3862871 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862871 --- 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] [JBossWS] - Re: Just want to create Hello World jboss-4.0.1 Web Service
You should be able to get web service working without installing either of these. Briefly what you need to do is: 1. Create a stateless session bean with a remote method to expose. 2. Run wscompile to generate the necessary mappings. 3. Write webservices.xml 4. Package it all up into an ear and deploy. The Wiki should contain all the info necessary to do all of these. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862550#3862550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862550 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: No serializer found for class - C# Client, JBoss Web Ser
Have you tried generating your jaxrpc-mapping and wsdl file via wscompile? If you do that, you may not need the ws4ee-deployment.xml file. I was getting the same error with my C# clients. When I stopped using the ws4ee-deployment.xml file (i.e. used wscompile and removed ws4ee-deployment.xml from the ear) it all started working correctly. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861914#3861914 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861914 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Generating WSDL
Reading the Wiki, it says that wscompile is used to generate WSDL for EJB endpoints, whereas axis-java2wsdl is used for Java Service Endpoints. Is there any reason why different tools are used? Which is better? Ta. Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861902#3861902 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861902 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBoss.net or JBossWS
If you're using JBoss 4, I'd recommend JBossWS. If you're not using JBoss 4, I'd recommend upgrading to it and using JBossWS. ;) Seriously though, JBossWS is J2EE 1.4 standard and fairly straightforward to use when you get your head round it. I've used both JBoss.net and JBossWS and much prefer the latter. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3861037#3861037 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3861037 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JDBC Driver for MS SQL Server
I'd recommend the jTDS drivers for SQL Server http://jtds.sourceforge.net/. Just put them in the server/default/lib directory (if you are using the default installation. If not, replace default with the appropriate directory). Cheers. Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3860298#3860298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3860298 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Incorrect data shown in forum
If I look at a topic that I created in the JBossWS forum http://www.jboss.org/index.html?module=bb&op=viewtopic&t=57094, the initial post is accredited to me (DaveyS), but I did not make this post. Has something gone wrong? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3857148#3857148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3857148 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Application Errors
My latest error log file showed similar info. I'll give this a try. Thanks very much, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847648#3847648 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847648 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Application Errors
I have just experienced another crash using JDK 1.5RC The end of log file is as follows, there are no errors or anything posted in the log. Is there a recommended JVM for JBoss? 11:58:10,562 INFO [TomcatDeployer] deploy, ctxPath=/test_web, warUrl=file:/C:/devtools/java/jboss-4.0.0RC2/server/all/tmp/deploy/tmp48367edrms.ear-contents/test_web-exp.war/ 11:58:10,687 INFO [TomcatDeployer] deploy, ctxPath=/edrms_web, warUrl=file:/C:/devtools/java/jboss-4.0.0RC2/server/all/tmp/deploy/tmp48367edrms.ear-contents/edrms_web-exp.war/ 11:58:11,125 INFO [EARDeployer] Started J2EE application: file:/C:/devtools/java/jboss-4.0.0RC2/server/all/deploy/edrms.ear # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d707d85, pid=5588, tid=4372 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-rc-b63 mixed mode) # Problematic frame: # V [jvm.dll+0xc7d85] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847646#3847646 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847646 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Application Errors
I've not got a JBoss log as it was overwritten when I started up again. I've got the following Java Log from JDK 1.5 RC if thats any use. # # An unexpected error has been detected by HotSpot Virtual Machine: # # EXCEPTION_ACCESS_VIOLATION (0xc005) at pc=0x6d704cdd, pid=5080, tid=6036 # # Java VM: Java HotSpot(TM) Client VM (1.5.0-rc-b63 mixed mode) # Problematic frame: # V [jvm.dll+0xc4cdd] # --- T H R E A D --- Current thread (0x008e3b08): VMThread [id=6036] siginfo: ExceptionCode=0xc005, reading address 0x0009 Registers: EAX=0x22b00208, EBX=0x, ECX=0x0009, EDX=0x6d762eb8 ESP=0x26bffc20, EBP=0x26bffc5c, ESI=0x229a0290, EDI=0x6d7a6780 EIP=0x6d704cdd, EFLAGS=0x00010206 Top of Stack: (sp=0x26bffc20) 0x26bffc20: 22b00208 6d704ca6 6d7a6780 6d704f01 0x26bffc30: 6d7aab08 6d745867 6d7aab08 6d7a6780 0x26bffc40: 0082e438 6d6ac98e 6d7a6780 0x26bffc50: 0001 0082e438 26bffcc4 0x26bffc60: 6d6adbb5 0001 0001 0x26bffc70: 0002 6d7a6780 6d7a6780 0001 0x26bffc80: 0082e438 0001 0x26bffc90: 0001 Instructions: (pc=0x6d704cdd) 0x6d704ccd: 08 8b 08 8b 40 08 8b 04 88 50 8b 48 04 83 c1 08 0x6d704cdd: 8b 11 ff 52 58 eb de c3 e9 00 00 00 00 c7 05 7c Stack: [0x26bc,0x26c0), sp=0x26bffc20, free space=255k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) V [jvm.dll+0xc4cdd] V [jvm.dll+0x6dbb5] V [jvm.dll+0x6d94c] V [jvm.dll+0x70f41] V [jvm.dll+0xfcfbb] V [jvm.dll+0x6c7b0] V [jvm.dll+0x6ce40] V [jvm.dll+0x11768c] V [jvm.dll+0x117163] V [jvm.dll+0x117303] V [jvm.dll+0x117068] C [MSVCRT.dll+0x27fb8] C [kernel32.dll+0x1d33b] VM_Operation (0x27d6f988): full generation collection, mode: safepoint, requested by thread 0x274fc780 --- P R O C E S S --- Java Threads: ( => current thread ) 0x2924fdf8 JavaThread "Connection Consumer for dest Subscription[subId=-2147483648connection=ConnectionToken:ID:51/19499148e77109440a40f32a5f335f63 destination=QUEUE.RenditionResponseQueue messageSelector=null Local Create] id=26" daemon [_thread_blocked, id=2400] 0x2701c968 JavaThread "Thread-177" daemon [_thread_blocked, id=712] 0x28f4a218 JavaThread "Thread-176" daemon [_thread_blocked, id=1688] 0x26f3b4a8 JavaThread "UIL2.SocketManager.WriteTask#208 client=192.168.14.121:8093" daemon [_thread_blocked, id=3084] 0x2794f008 JavaThread "UIL2.SocketManager.ReadTask#207 client=192.168.14.121:8093" daemon [_thread_in_native, id=2552] 0x28f4a9d8 JavaThread "UIL2.SocketManager.WriteTask#206 client=192.168.14.121:3417" daemon [_thread_blocked, id=3720] 0x2751e560 JavaThread "UIL2.SocketManager.ReadTask#205 client=192.168.14.121:3417" daemon [_thread_in_native, id=4712] 0x26f3b628 JavaThread "Thread-175" daemon [_thread_blocked, id=2576] 0x27b41870 JavaThread "Thread-174" daemon [_thread_blocked, id=5108] 0x29037898 JavaThread "UIL2.SocketManager.WriteTask#204 client=192.168.14.121:8093" daemon [_thread_blocked, id=2388] 0x26f06e10 JavaThread "UIL2.SocketManager.ReadTask#203 client=192.168.14.121:8093" daemon [_thread_in_native, id=5880] 0x26f37410 JavaThread "UIL2.SocketManager.WriteTask#202 client=192.168.14.121:3416" daemon [_thread_blocked, id=6040] 0x27a72e38 JavaThread "UIL2.SocketManager.ReadTask#201 client=192.168.14.121:3416" daemon [_thread_in_native, id=5972] 0x27795048 JavaThread "HAJNDI-Listener" [_thread_in_native, id=5228] 0x29220358 JavaThread "TP-Monitor" daemon [_thread_blocked, id=5720] 0x292201d8 JavaThread "TP-Processor4" daemon [_thread_in_native, id=3964] 0x29242220 JavaThread "TP-Processor3" daemon [_thread_blocked, id=2668] 0x29220058 JavaThread "TP-Processor2" daemon [_thread_blocked, id=2344] 0x28fab318 JavaThread "TP-Processor1" daemon [_thread_blocked, id=5992] 0x2921dc88 JavaThread "http-0.0.0.0-8080-Monitor" [_thread_blocked, id=4836] 0x2921d150 JavaThread "http-0.0.0.0-8080-Processor25" daemon [_thread_blocked, id=5964] 0x2921c610 JavaThread "http-0.0.0.0-8080-Processor24" daemon [_thread_in_native, id=4052] 0x2921bad8 JavaThread "http-0.0.0.0-8080-Processor23" daemon [_thread_blocked, id=2884] 0x2921afa0 JavaThread "http-0.0.0.0-8080-Processor22" daemon [_thread_blocked, id=4636] 0x2921a468 JavaThread "http-0.0.0.0-8080-Processor21" daemon [_thread_blocked, id=5384] 0x29219930 JavaThread "http-0.0.0.0-8080-Processor20" daemon [_thread_blocked, id=4552] 0x29218df8 JavaThread "http-0.0.0.0-8080-Processor19" daemon [_thread_blocked, id=5636] 0x292182c0 JavaThread "http-0.0.0.0-8080-Processor18" daemon [_thread_blocked, id=3748] 0x29217788 JavaThread "http-0.0.0.0-8080-Processor17" daemon [_thread_blocked, id=3928] 0x29216ce0 JavaThread "http-0.0.0.0-8080-Processor16" daemon [_thread_blocked, id=2724] 0x29214ef8 JavaThread "http-0.0.0.0-8080-Processor15" daemon [_thread_blocked, id=5672] 0
[JBoss-user] [Installation & Configuration] - Application Errors
I'm not sure if this is the corect forum, because I think I have got a general Java problem, but hopefully someone can help me ;) I am getting random General Protection Errors with JBoss running on Windows XP. In the event viewer I see that the faulting application is java.exe in module jvm.dll. This is immediately followed by a Fault bucket error. These errors happen seemingly at random when I deploy apps to JBoss, and also when JBoss is sitting idle or executing code - I can't see a pattern. Does anyone know what this means or what causes it? Anyone know what a fault bucket is? I get the same problem when using JBoss 3.2.5, 4.0RC1, 4.0RC2 Java 1.4.2_03 and 1.5 RC View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3847632#3847632 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3847632 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server
Thanks for the tip! The no-select-berfore-insert works as expected, but I still get inserts and then updates when using the INSERT after ejbPostCreate option My jboss.xml looks like | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | | |INSERT after ejbPostCreate Container | true | | | | Any ideas why it doesn't work. I'm using 4.0 RC1 - does it work on that version? Ta, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845184#3845184 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845184 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server
I've put a profile trace on the database and that is exactly what I see. CMP does an insert to initially create the bean and then does an update afterwards to save the relationships. I can't change the way it does this can I? Does this mean that I can't effectively use CMP and CMR for the scenario I have without a high chance of getting deadlocks? Cheers, Dave View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3845022#3845022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3845022 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Database locking problem with CMP and SQL Server
Hi, createNew() is the only method being called. This creates the CMP beans only and the relationships between them. I am not knowingly doing any updates, but the CMP engine may be. I have just turned off hyperthreading on my pc (having had bad experiences of it before) and the situation has got slightly better. I no longer get blocks in the database that stop all clients from running. Now all I get is deadlocks in the database. SQL Server is then recovering from these deadlocks and is creating a deadlock victim and therefore rolling back one of my CMP transactions. The performance is incredibly bad however (presumably because of the deadlocks in the database) when comparing running with 2 clients to one client. Are there any best practices/guidelines for getting good performance out of CMP beans without getting database deadlocks? Also, do you know what I should do when I get a deadlock in my app - is it just a case of trapping the deadlock in the session bean facade and then running the whole transaction again? Cheers, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844942#3844942 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844942 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Database locking problem with CMP and SQL Server
I have developed some entity beans and have deployed them on JBoss 4.0RC1 (and also JBoss 3.2.4) against a SQL Server 2000 database. CMP BeanA has a 1 to many relationship with CMP BeanB which in turn has a 1 to many relationship with CMP BeanC. i.e. 1 BeanA has many BeanB and 1 BeanB has many BeanC. I have developed a stateless session bean as a facade to the entity beans. The session bean has a createNew() method that takes a dto. This method in the session bean creates a BeanA, a BeanB and a BeanC and sets their attributes as appropriate. I have a test client that invokes the stateless session bean repeatedly to try to stress test the system and see how many transactions it can perform per second. This works fine with one test client (which calls a remote interface on the session bean). When I have two clients accessing the session bean however, I see deadlocks appearing in the database. After 10 or 20 seconds of running like this, the database gets completely blocked and I see that there are several connections blocking other connections in the database. As the database is effectively then blocked for all our requests, all the test clients stop responding. Does anyone else have this problem? Is it a common problem with the architecture that I have? Are there any hints or resources that can help solve this problem? My test environment is: Windows XP, JBoss 4.0 RC1 (also tried on JBoss 3.2.4) - using java 1.4.2_03 MS SQL Server 2000 Microsoft JDBC drivers for MSSQL Server Test clients are simple java application running in JDK 1.5.0-beta2 JBoss, SQL Server and the test clients are all located on the same machine at present for testing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844899#3844899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844899 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Changing EJB JNDI Name
Hi, I'm trying to change the JNDI name of a stateless session bean to be the same as the class name so I can implement a EJBHomeFactory (ie do JNDI lookups just by specifying the class name of the remote home interface) but it doesn't seem to work. I'm editing the jboss.xml file for the bean, but the new JNDI name doesn't show up in the web-console or in JNDI. Has anyone done this sort of thing? My jboss.xml looks like | | | SearchTCEJB | | ejb/SearchTCHome | ejb/com/company/session/stateful/SearchTCHome | | Standard Stateless SessionBean | | My environment: JBoss 4 RC1, Windows XP View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844389#3844389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844389 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: [newbie] deploy jar ejb files...
If you get nothing in the server console, it sounds like you have put the jar in the wrong location. Are you running the default JBoss? What command did you use to start JBoss? Ta, Dave. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843746#3843746 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843746 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: how can I keep a kind of global object (Singleton) in JB
Can't you just create a singleton and access it through a stateless session bean? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839191#3839191 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839191 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Treeview closing on web-console
On 3.2.4, if I browse to the web console and open up the System node in the tree view and then open up the JMX MBeans node, I see everything as expected. Occasionally after about 5 seconds or so, the whole tree view closes down so all I can see is the top level nodes (Monitors, J2EE Domains, System). Does anyone else have this problem. It didn't happen in 3.2.3. Cheers. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838752#3838752 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838752 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user