[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Dealing with

2006-04-07 Thread clairecostello
I've changed the page locking and row locking policies from within SQL Server to restrict locking to row locking only on the heavily used tables. I know this will cause SQL server to work harder. The app can deal with messages arriving at 1 per second, but on occasion it has deadlock. As a

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Dealing with Rerun the transaction errors

2006-04-05 Thread clairecostello
Hi, JBoss version: 4.0.2 JVM version: 1.5 Basically, the code creates entity beans from messages received from a JMS queue. If certain messages arrive, extra activities have to be performed. The logic crosses some method and entity boundaries but these are not long running transactions. Would

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Failure when committing JTA transaction: status=STATUS_N

2006-04-05 Thread clairecostello
Hi there, I am just curious if you made any progress with this matter? I'm currently investigating this issue in relation to entity bean creation with CMP and an SQL Server connection. Regards, Claire. View the original post :

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Problem with inefficient query

2006-04-05 Thread clairecostello
Hi there, Can't give you a direct answer here as it is something I am currently investigating myself but check out the loading strategies for JBoss SQL queries in the Server Guide. I'm using 4.0.2 so there could be some differences here for 3.2.5. HTH, Claire View the original post :

[JBoss-user] [Performance Tuning] - Re: EntityLockMonitor usage

2006-04-05 Thread clairecostello
Strangely enough, I just got access to the methods I mentioned in my previous post by doing the following: 1. Downloaded the free version of Application Manager (as suggested by another post in this forum). I needed to monitor things, especially lock contention, and this software looks like a

[JBoss-user] [Performance Tuning] - EntityLockMonitor usage

2006-04-04 Thread clairecostello
Hi All, JBoss version: 4.0.2 Windows Server 2003 I want to view lock information (as per pg 247 of the JBoss 4.0 Guide). I've uncommented the relevant code in jboss-service.xml: | mbean code=org.jboss.monitor.EntityLockMonitor | name=jboss.monitor:name=EntityLockMonitor |

[JBoss-user] [Messaging, JMS JBossMQ] - Re: DestinationManager is not registered

2005-11-07 Thread clairecostello
Hi All, Coming back to this again. Still not getting any JBossMQ queues bound in JNDI due to this destination manager problem. But here's the strange part, recently when I restarted the server, loads of test queues appeared under JNDI. And I was able to remotely connect and put messages on

[JBoss-user] [Messaging, JMS JBossMQ] - Re: DestinationManager is not registered

2005-11-07 Thread clairecostello
I noticed deloy\jms directory was rather bare looking. deploy-hasingleton\jms had some files in there and one contained the MBean XML for the DestinationManager. Copied all the files to deploy\jms (probably broke a cardinal rule here) and DestinationManager gets configured and I can see the

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS, JNDI and remote client access.

2005-11-07 Thread clairecostello
Hi Colin, Thanks for your reply. I'll have a look through activemq forum. -Claire. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3905804#3905804 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3905804

[JBoss-user] [Messaging, JMS JBossMQ] - Re: JMS, JNDI and remote client access.

2005-11-04 Thread clairecostello
Hi, Thanks for your reply. I tried what you suggested but get the following error output: anonymous wrote : | Exception in thread main java.lang.ExceptionInInitializerError | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Unknown Source) | at

[JBoss-user] [Messaging, JMS JBossMQ] - JMS, JNDI and remote client access.

2005-11-03 Thread clairecostello
Hi All, I'm using JBoss 4.0.2 and integrated ActiveMQ to deploy an MDB. Things seem to deploy just fine as there is a Global JNDI entry for the queue. (JMX Console). However, when I try to connect remotely, I can create the context, but am having problems connecting to the resource. See code

[JBoss-user] [Messaging, JMS JBossMQ] - RAR deployment issue

2005-10-26 Thread clairecostello
Hi All, System dets: JBoss 4.0.2 Java 5.0 Win Server 2003 I have followed the ActiveMQ and JBoss Integration WIKI in order to set up a Queue. The JMX Console for our JBoss AS displays the queue name I've created. What is the following deployment exception all about? Why is it reportomg that

[JBoss-user] [Messaging, JMS JBossMQ] - DestinationManager is not registered

2005-10-24 Thread clairecostello
Hi All, JBoss 4.0.2 J2SE 5.0 MS Windows Server 2003 Server config: all I cannot deploy my MDB for the following reason: anonymous wrote : | | 2005-10-24 20:28:38,937 WARN [org.jboss.ejb.plugins.jms.JMSContainerInvoker] JMS provider failure detected: |

[JBoss-user] [EJB/JBoss] - Re: JAXB NoClassDefFoundError

2005-10-14 Thread clairecostello
Are you binding your XML Schemas using separate xjc commands? To the same folder structure? If so, the final ObjectFactory class will not contain the required create methods to create the JAXB objects at runtime. Not sure if this relates to the original problem... View the original post :

[JBoss-user] [EJB/JBoss] - Re: JAXB NoClassDefFoundError

2005-10-13 Thread clairecostello
Just out of curiosity - how many XML Schemas have been bound using JAXB? JAXB and JBoss work fine for me - I have placed all necessary JAXB JAR files into the server\my-config\lib directory. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3900811#3900811 Reply

[JBoss-user] [JCA/JBoss] - Trusted Connection to SQL Server

2005-10-10 Thread clairecostello
Hi, Machine setup: Windows Server 2003 JBoss 4.0.2 Java 5.0 SQL Server 2000 Enterprise Edition version 8.0 (set to mixed mode authentication.) mssql-ds.xml: | datasources | local-tx-datasource | jndi-nameMSSQLDS/jndi-name |

[JBoss-user] [JCA/JBoss] - Re: Trusted Connection to SQL Server

2005-10-10 Thread clairecostello
Hi, I'm posting my solution to this problem. I'd spent a few hours searching for an answer to my original predicament. In the end, I decided to mess around with the authenication methods and passwords of SQL Server users. Using the SQL Enterprise Manager, I created a new user for my database

[JBoss-user] [JBossWS] - Re: Use of JBossXB

2005-08-04 Thread clairecostello
Hi, I've downloaded the JWSDP 1.6 and will use JAXB to bind XML Schemas to Java classes and unmarshal the WS params using the generated Java classes. Suggested alternatives to this approach welcomed (if in some way necessary). View the original post :

[JBoss-user] [JBossWS] - Re: Use of JBossXB

2005-08-03 Thread clairecostello
Hi Scott, Thanks for that. Just to see if I have interpreted your post correctly: When you say Map it to a session bean - what do you mean by it? Should I use JBossXB in my session bean which handles the WS invocations and then create entity beans using the java objects generated? I am using

[JBoss-user] [JBossWS] - Re: Use of JBossXB

2005-08-03 Thread clairecostello
Yes, the WS requests are mapped to a session bean and the client can call the WS successfully. Now I want to take the WS params and create entity beans in ejb container. So, should I use Sun's JAXB implementation or JBossXB to translate my WS params into entity beans? Thanks for your help on

[JBoss-user] [Beginners Corner] - XML

2005-07-26 Thread clairecostello
Hi, Where can I ask my XML questions? TIA. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3886596#3886596 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3886596 ---

[JBoss-user] [EJB/JBoss] - Use of JBossXB

2005-07-26 Thread clairecostello
Hi All, Not sure where to post this question. Perhaps it should be in the JBoss CMP forum? My Webservice accepts a String argument which is XML corresponding to an XML Schema agreed between the client and server parties. My question is what to do with the XML to create my entity bean (CMP

[JBoss-user] [JBossWS] - Re: Jboss-4.0.2 Client

2005-07-07 Thread clairecostello
Hi guyathiri, JBoss 4.0.2 JDK/JRE 1.5 Win Adv Serv 2003 I am using the following code which calls the service using the DII method to invoke web services. I supply a WSDL URL and it manages to create the call and get a return value for me. Perhaps if you haven't tried this approach it may

[JBoss-user] [JBossWS] - Re: JBOSS doen't deploy webservice

2005-07-06 Thread clairecostello
What is the structure of the EAR file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883879#3883879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3883879 --- SF.Net

[JBoss-user] [JBossWS] - Re: How to specify ctxPath for ejb endpoint web service

2005-07-05 Thread clairecostello
Hi, I've done this to change the context path for services. However, where can I get detailed guide to jboss.xml? Many thanks, Claire. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883653#3883653 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: Why Application Server?

2005-07-04 Thread clairecostello
I think one of the best advantages of using an App Server like JBoss is the J2EE CMP functionality. Once you understand how CMP works, it cuts out the data access layer you would normally write in business apps as SQL code can get quite involved at the best of times. Claire. View the

[JBoss-user] [JBossWS] - Re: Questions about the Wiki Page WSServerEJB

2005-06-30 Thread clairecostello
Hi Barry, Basic structure of JAR is: META-INF/MANIFEST.MF META-INF/webservices.xml META-INF/jboss.xml META-INF/ejb-jar.xml META-INF/jaxrpc-mapping.xml META-INF/wsdl/servicesfilename.wsdl Followed by all the packages and classes. http://www.dcl.hpi.uni-potsdam.de/research/asg/ws4ejb/ has a

[JBoss-user] [EJB/JBoss] - Re: Is

2005-06-29 Thread clairecostello
Hi, As far as I know order is a reserved keyword in SQL for relational databases. This could be causing a problem with underlying db for JBoss. ? -Claire View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3883071#3883071 Reply to the post :

[JBoss-user] [JBossWS] - Re: WSDL duplicate operations

2005-06-27 Thread clairecostello
Hi Max, After reading your article I made sure that the message parts had different names in their definitions and used them for overloading the same WSDL method: getModel(). The WSDL bindings for the method uses the different message parts as appropriate. Here is the binding generated by

[JBoss-user] [JBossWS] - Re: WSDL duplicate operations

2005-06-27 Thread clairecostello
Thanks for the feedback. I shall simply rename WS operations (for use within the same portType at least). Claire. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882873#3882873 Reply to the post :

[JBoss-user] [JBossWS] - WSDL duplicate operations

2005-06-24 Thread clairecostello
Hi All, JBoss 4.0.2 JDK/JRE 5 Win XP Advanced Server. I need help with my WSDL. I have duplicate operation names in my interfaces, but with different input params. When I deploy to JBoss it throws the following error: | org.jboss.deployment.DeploymentException: Cannot deploy webservice; -

[JBoss-user] [JBossWS] - Re: WSDL duplicate operations

2005-06-24 Thread clairecostello
Thanks Max. I'll take a look at the article and see how it works out. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882620#3882620 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882620

[JBoss-user] [JBossWS] - Server responds, but client does not receive?

2005-06-22 Thread clairecostello
Hi All, JBoss 4.0.2 JRE/JDK 5 Web Service deploys successfully. DII client (see Wiki) has problems on call.invoke(). Strange thing is that the server.log reports a response message sent to call invocation and includes a correct SOAP envelope. It appears that the client has not received the

[JBoss-user] [JBoss Getting Started Documentation] - Re: Dike's Bank example - build failed

2005-06-13 Thread clairecostello
The jboss-build.properties file is in the root directory of the J2EE tutorial folder structure (where you installed tutorial). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3881259#3881259 Reply to the post :

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - Release 4

2005-06-09 Thread clairecostello
Hi, Thanks for that. I will be installing 4.0.2 soon. Another thing, do you happen to know was this means: [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ebank.jboss.com}AccountList It occurs when deploying the WS. Many thanks, Claire View the original post :

[JBoss-user] [JBoss Getting Started Documentation] - Getting Started Guide - Release 4

2005-06-08 Thread clairecostello
Hi All, Sys dets: JBoss 4.0.1 JDK 1.4.2 Getting Started Tutorial Release 4 The problem reported from the JBoss deployer when I try to deploy Web service (section 5.2) is: [JavaWsdlMapping] Cannot find jaxrpc-mapping for type: {http://ebank.jboss.com}AccountList 11:55:57,151 ERROR

[JBoss-user] [JBoss Getting Started Documentation] - Re: Getting Started Guide - Release 4

2005-06-08 Thread clairecostello
Hi, A possible answer to my question? Originally, to get rid of errors arising from the ant package-ws task (see Sec 5.2 of Getting Started Guide v 4) being unable to find org.jboss.axis.wsdl.Java2WSDL to create the WSDL file for the Duke's bank example, I copied axis. jar into the /lib

[JBoss-user] [JBoss Getting Started Documentation] - Re: Problem with Dukes Bank section 5.2

2005-06-07 Thread clairecostello
A long shot but try copying axis.jar to lib directory of appropriate server configuration rather than root lib. HTH, Claire View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3880656#3880656 Reply to the post :