[JBoss-user] [EJB 3.0] - HSQL-DB problem

2006-06-20 Thread martin ganserer
Hello, I created a small test project with an embedded HSQLDB. Everything works fine, but I can not persist data. I don't get an exception but after making a commit no data is present in my table. Here are some fragments of my source code: | ?xml version="1.0" encoding="UTF-8"?> | http://

[JBoss-user] [EJB 3.0] - Re: Distinguish between remote and local call

2006-05-27 Thread martin ganserer
Hello Bill, do you see any chance that you guys will implement this method in one of the next releases? I am not sure if other developers need this feature but it would be really interesting for our custom security system where we only want to check authorization of a method if the call came fr

[JBoss-user] [EJB 3.0] - Distinguish between remote and local call

2006-05-26 Thread martin ganserer
Hello, would it be possible to determine if a call of a stateless session bean came from the remote or the local interface. Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946971#3946971 Reply to the post : http://www.jboss.com/index.h

[JBoss-user] [EJB 3.0] - Question on entity listener

2006-05-22 Thread martin ganserer
Hi, I am currently testing entity listeners for validation issues. If some conditions are not valid a special RuntimeException (UserValidationException) will be thrown to rollback the current transaction. So far so good. My problem is that my remote client only gets an InvocationTargetException

[JBoss-user] [EJB 3.0] - Re: ServiceLocator & EJB3

2006-05-22 Thread martin ganserer
Hi, what do you mean by IoC? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945224#3945224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3945224 --- Using Tomcat bu

[JBoss-user] [EJB 3.0] - Re: ServiceLocator & EJB3

2006-05-22 Thread martin ganserer
Hi, I have a swing client too! I think a ServiceLocator is a good approach. I can not imagine that there are better alternatives. Regards Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3945222#3945222 Reply to the post : http://www.j

[JBoss-user] [EJB 3.0] - Increment value

2006-04-19 Thread martin ganserer
Hello, I have a simple table and one column of this table holds an integer. Is it possible in EJB3 to garanty exclusive access to this value when incrementing it? Exclusive access means that different session beans that are calling the increment method always get a new, unique column value. Th

[JBoss-user] [EJB 3.0] - Re: Problems with Date

2006-04-05 Thread martin ganserer
Hi, I just recognized it. That was the problem! Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935078#3935078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935078 ---

[JBoss-user] [EJB 3.0] - Re: Problems with Date

2006-04-05 Thread martin ganserer
Hello, I tried all TemporalTypes but nothing did the job! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935028#3935028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935028 --

[JBoss-user] [EJB 3.0] - Problems with Date

2006-04-04 Thread martin ganserer
Hi, I have a problem with Date properties in my entity bean. In my project I use JBOSS PFD/MySQL 5.0. The column is of type: DateTime. @Temporal(TemporalType.DATE) | @Column(name="last_date") | public Date getLastDate() | { | return lastDate; | } If I merge the corresponding entity

[JBoss-user] [EJB 3.0] - Re: Shared Memory in EJB Container

2006-04-03 Thread martin ganserer
Hi, @epbernanrd: Please give us an example, as I don't belive that this will work! How should a stateless session keep the sate? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934293#3934293 Reply to the post : http://www.jboss.com/index.html?modul

[JBoss-user] [EJB 3.0] - Re: Working with a stateful session bean

2006-03-15 Thread martin ganserer
Hi Bill, do you see any chance to reference a SFSB in a stateless bean? Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930565#3930565 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930565 ---

[JBoss-user] [EJB 3.0] - Re: Working with a stateful session bean

2006-03-15 Thread martin ganserer
Ok, but how can I get the SFSB reference that the client created? Maybe it works with @Resource SessionContext ctx? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930359#3930359 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posti

[JBoss-user] [EJB 3.0] - Re: Working with a stateful session bean

2006-03-15 Thread martin ganserer
Hi, thank you for your quick response! I tried already to inject the SFSB in a SLSB but it does not work as expected. This is a short description how it should work: - A client creates a new stateful instance by a ctx.lookup - The client calls a method that sets a private attribute of this SFSB

[JBoss-user] [EJB 3.0] - Working with a stateful session bean

2006-03-15 Thread martin ganserer
Hi, how do I have to inject a stateful session bean in another session bean. Can I use the @EJB annotation? My client is a remote swing app. Does anyone have a small example? Thank you very much!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930336#393033

[JBoss-user] [EJB 3.0] - Deployment & Packing in complex apps

2006-03-14 Thread martin ganserer
Hello, I have a question concerning deployment and packing: Currently my team is working on a bigger EJB3 project. We have found out that there are some use cases that might be interesting for different projects. Let's say we have an order entry app. This app contains Entity Beans and Session B

[JBoss-user] [EJB 3.0] - Re: Session bean client according to JEE5 tutorial

2006-03-09 Thread martin ganserer
Hi, please take a look at the current spec! You won't find that definition with the full qualified class name of the remote interface any more in it! So JBOSS is absolutely conform with Sun's PFD! Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39290

[JBoss-user] [EJB 3.0] - Re: Projection

2006-03-01 Thread martin ganserer
Hi Bill, thank you for your response! At the moment I am reading a book about Hibernate. In one chapter the book describes projection (in Hibernate) very well. In one example I have seen that Hibernate was able to get a result list without a "hard defined" object like ArticleSummary. What I wa

[JBoss-user] [EJB 3.0] - Projection

2006-03-01 Thread martin ganserer
Hello, how is projection implemented in the current release of JBOSS EJB3? In a new project we want to implement a generic report engine. From my point of view only a good projection implementation can do the job. Example: | Object[][] result = em.createQuery("select id,articleNo from Articl

[JBoss-user] [EJB 3.0] - Re: Exception handling

2006-03-01 Thread martin ganserer
Hi, I made a small test to check if the Exception class is known in the client. I simply fired a GenericBusinessException in the client without any problem! | try | { | throw new GenericBusinessException(); | //user3 =

[JBoss-user] [EJB 3.0] - Exception handling

2006-03-01 Thread martin ganserer
Hello, I am currently using EJB3 RC3 and I have some problems with exceptions. If my DAO throws a new Exception a remote client that should take care of that exception ignores it. Ignoring means that the programm does not go right into the catch clause. Here is an example: | | public Fo

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-03-01 Thread martin ganserer
Hi Jon, does your EagerOnDemand work with several levels, or is your solution limited on one level only? E. g. you have a user that has several organisations and each organisation has several departments. Regards Martin View the original post : http://www.jboss.com/index.html?module=bb&am

[JBoss-user] [EJB 3.0] - Re: Scheduled Event and Session Beans

2006-02-28 Thread martin ganserer
Hi, did you solve your problem? I was able to get the Scheduler up and running. But when I try to inject a stateless session bean I get a null pointer exception too! You wrote that you have to do a manual lookup. Did it work. If yes how did you do that? Thanks! View the original post : http

[JBoss-user] [EJB 3.0] - Re: Problem with Lazy attributes - 4.0.3SP1-EJB3.0RC4

2006-02-28 Thread martin ganserer
Hello, could you please describe or post the EagerOnDemand class. I would really appreciate that as I am very interested in working with ejb3 on remote clients. Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926720#3926720 Reply to the post :

[JBoss-user] [EJB 3.0] - Value objects

2006-01-25 Thread martin ganserer
Hello, I would like to support different databases in my app. Today I created an example app where I defined following simple classes: A public interface public interface Customer | { | public int getId(); | public void setId(int id); | public String getName(); | public void set

[JBoss-user] [EJB 3.0] - Handling of huge projects

2006-01-24 Thread martin ganserer
After finishing a first test project we are investigating how we could be able to migrate existing projects to EJB3. The problem is that these projects are not very small. For instance we currently have a product database with approximately 250 entities. I don't like to add all entity beans in on

[JBoss-user] [EJB 3.0] - Re: NotSerializableException

2006-01-24 Thread martin ganserer
Hello, I think that your entity bean Version just has to implement the java.io.Serializable interface! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919268#3919268 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=391926

[JBoss-user] [EJB 3.0] - Re: Newly created identity not propagated to dependent colum

2006-01-23 Thread martin ganserer
Hello, I think it won't work as long as you try to perist a whole list. Try this: for(Widget widget: widgetHolder) | { | em.persist(widget); | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3919055#3919055 Reply to the post : http://www.jboss.com/in

[JBoss-user] [Installation, Configuration & Deployment] - Unpack deployed ear,par or ejb3 file

2006-01-12 Thread martin ganserer
Hello, I would really like to know if it is possible in JBOSS 4 to let the app server unpack deployed packages like ears, pars or ejb3 files. The reason why I am asking is that I really have problems with big applications when it comes to deployment. From my point of view it would be faster and

[JBoss-user] [EJB 3.0] - Context in stateless session bean

2006-01-11 Thread martin ganserer
Hello, I have a stateless session bean. I inject the SessionContext as follows private @Resource javax.ejb.SessionContext ctx; In a method I want to get the host name: System.out.println("Host:" + (String) ctx.lookup("java:comp/env/host")); The problem is that host (and other properties) are a

[JBoss-user] [EJB 3.0] - Re: Connection properties via @Ressource

2006-01-11 Thread martin ganserer
Hi, thank you. But I didn't mean the database connection settings. I would like to get username and password of the app server connection. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916858#3916858 Reply to the post : http://www.jboss.com/index.ht

[JBoss-user] [EJB 3.0] - Connection properties via @Ressource

2006-01-11 Thread martin ganserer
Hello, how can I get specific connection properties like username or password via Ressource-Injection? Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916844#3916844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=re

[JBoss-user] [EJB 3.0] - Re: Could not deploy par file

2006-01-09 Thread martin ganserer
Hello Bill, I currently use JBOSS 4.0.3 SP1 and a MYSQL-Database. On the same database (on a different schema) I already have a EJB3 app working on. My one and only entity bean looks like this: package com.mg.jef.model.project; | | import java.io.Serializable; | import javax.persistence.

[JBoss-user] [EJB 3.0] - Could not deploy par file

2006-01-09 Thread martin ganserer
Hello, I created a very small test project with only one entity bean. When I want to deploy the par file. I always get an NullPointerException at: javax.naming.InitialContext.getURLScheme What could be the reason for this exception? >From my point of view the par file is OK and the data source t

[JBoss-user] [EJB 3.0] - Re: Deploy par-file

2006-01-02 Thread martin ganserer
Can please anybody help me? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3915175#3915175 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3915175 --- This SF.net email

[JBoss-user] [EJB 3.0] - Deploy par-file

2005-12-30 Thread martin ganserer
Hello, I want to build an app that uses HSQLDB. I created one entity and mapped it to a table in my database. Here is my datasource file: | | | FrameworkDS | jdbc:hsqldb:hsql//localhost/ | org.hsqldb.jdbcDriver | sa | | |

[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-20 Thread martin ganserer
Hello guys, I made it!!! :-) It was the commons-logging.jar that was missing! Thank you all for your help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913572#3913572 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3

[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-20 Thread martin ganserer
Hello, thank you for giving me your link. I added the libraries that were missing, but it didn't work! I still get the same error message! :-( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913568#3913568 Reply to the post : http://www.jboss.com/index.html?

[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-19 Thread martin ganserer
Hi, here it is: java.util.Hashtable env = new java.util.Hashtable(); | env.put(InitialContext.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | env.put(InitialContext.PROVIDER_URL, "jnp://mi01:1099"); | env.put(InitialContext.URL_PKG_PREFIXES, "org.jboss.naming:org.jn

[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-19 Thread martin ganserer
Hello, any ideas about that? Is it maybe a jboss bug? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3913332#3913332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3913332 -

[JBoss-user] [EJB 3.0] - Re: Remote Client: What library?

2005-12-15 Thread martin ganserer
Hi, I added hibernate3.jar but I still get an error! The log tells me that I can "open" the remote interface and that something works on the server. But when I try to fetch the data the method comes back with following error message: 08:51:38,640 ERROR [ServerThread] failed | java.net.SocketE

[JBoss-user] [EJB 3.0] - Remote Client: What library?

2005-12-09 Thread martin ganserer
Hello, I just want to test a remote swing client on my EJB3 app. I have a little problem: When I run my swing app I get following error: ... | Caused by: java.lang.ClassNotFoundException: org.hibernate.collection.PersistentBag | ... Could please somebody tell me the library that I forgot t

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-08 Thread martin ganserer
Hey guys, forget about catching lazy load exceptions in the client! This is something that you might can implement but take a look at you client code!! It will look terrible (especially if you have complex hierarchies) and you always have to add new or remove code if you change the fetch strateg

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-07 Thread martin ganserer
Hello, thank you for your positive response. In my application by using the load level strategy I only see the solution to fetch the whole object again - even if you already have half of the data. This is not very effective but it is easy to handle. Books: As far as I know there are no books

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-05 Thread martin ganserer
Hello Heinrich, from my point of view you don't need a load level within insert or update methods at all. You define the strategy that nested objects will be handeled when persisting in the entity beans by using the cascade type! In my existing app (for example) I have a CustomerOrder entity bea

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-05 Thread martin ganserer
Hello heinrich, I must admit that I don't understand exactly what you want to tell me. But from my point of view persisting and/or merging an entity bean is not the problem when working with a remote client. You just have to build a proper remote method that covers that issue. Example: | Cus

[JBoss-user] [EJB 3.0] - Re: Logging

2005-12-05 Thread martin ganserer
Hi, thank you very much. That's it!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910642#3910642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3910642 --- This SF

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-01 Thread martin ganserer
Hello, yesterday I was thinking about another approach that I will might consider for my apps with remote clients. Heinrich wrote that he creates different accessor methods in session beans for different use cases. Wouldn't it be nice to use only one method? Example: Let's assume one has a comp

[JBoss-user] [EJB 3.0] - Logging

2005-12-01 Thread martin ganserer
Hello, can please some tell me how to disable logging of hibernate sql statements. I have long term transactions and within one transaction I get a log file of 14 GB!! Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3910016#3910016 Reply to the po

[JBoss-user] [EJB 3.0] - Re: Interesting Client/EJB3Container design question

2005-12-01 Thread martin ganserer
Hello, I agree with heinrich. The approach with the id is very strange. If you work on a remote client there are only two possible ways to work with ejb: 1. Working with Value Objects Build different value objects for every use case. A value object consists of one or more entity objects and ma

[JBoss-user] [EJB/JBoss] - Lazy load

2005-10-25 Thread martin ganserer
Hello, I have got a problem with lazy load. I have a test web application. In a very simple servlet I want to search for all objects of a specific EJB via the local interface: Here are my entity bean snippets: | @OneToMany(fetch=FetchType.LAZY,cascade=CascadeType.ALL) | @JoinColumn(na

[JBoss-user] [EJB/JBoss] - Re: Deployment problem

2005-10-24 Thread martin ganserer
Sorry, it was my fault! I inserted wrong pathes in my build file! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902929#3902929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902929

[JBoss-user] [EJB/JBoss] - Deployment problem

2005-10-23 Thread martin ganserer
Hello, in my first tests I always created one ejb file and deployed it to JBOSS. That worked fine. But now I have tried to separate the entity beans and service beans. I created a par and an ejb file. At the first look everything looks fine. But when I deploy both files I get an error like this

[JBoss-user] [Frequently Asked Questions (FAQ)] - setting up a virtual host with 3.2.3 (without Apache)

2004-02-17 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821860#3821860 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821860 Howdy. I've seen quite a few questions about this on the web, but unfortunately I haven't found any a

[JBoss-user] [HTTPD, Servlets & JSP] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-16 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821784#3821784 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821784 That's ok for me (I think?). I'm trying to get five separate webapps going and I can't get JBoss to f

[JBoss-user] [HTTPD, Servlets & JSP] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-16 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821689#3821689 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821689 Howdy again. :> What do you mean by separate instances? Are they all running on the same port? I di

[JBoss-user] [Installation & Configuration] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-16 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821688#3821688 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821688 I was running with WebLogic 8.1 and j2sdk 1.4.2_03. I was able to get the previous virtual hosts runn

[JBoss-user] [HTTPD, Servlets & JSP] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821623#3821623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821623 Maybe something to help is I am getting this error message, but I have no idea why or what it's all ab

[JBoss-user] [Installation & Configuration] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821622#3821622 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821622 Nope, it didn't like that one either. :< < Host name="www.Yabber.com">

[JBoss-user] [Installation & Configuration] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821621#3821621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821621 Shoot, here is another attempt at it.

[JBoss-user] [Installation & Configuration] - Re: setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821620#3821620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821620 Here is the jboss-service.xml I currently have setup in case this helps.

[JBoss-user] [Installation & Configuration] - setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821613#3821613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821613 Do you have a link to set this up? I'm running jboss-3.2.3 under linux (can you have symbolic links w

[JBoss-user] [HTTPD, Servlets & JSP] - setting up virtual hosts in JBoss-3.2.3?

2004-02-15 Thread Martin Brice
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3821612#3821612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3821612 I've been trying unsuccessfully to setup five virtual hosts with jboss-3.2.3 and unfortunately everywh

[JBoss-user] Informix datasource not working in Jboss 3.2.3

2004-01-28 Thread Martin Thomas
if so how can I specify the connection type to be read and write. Any help would be appreciated. Regards Martin Thomas PS here is the DS XML and a more detailed stack trace: InformixDS jdbc:informix-sqli://hestia:1703/paysol:informixserver=v fonedev com.informix.jdbc.IfxDriver

[JBoss-user] Failed to deploy invoker.war and jmx-concole.war.

2004-01-23 Thread Johem, Martin
TransformerException: java.lang.NullPointerException]   Regards   Martin  

RE: [JBoss-user] JBoss 3.2.2 and prepared statement cache

2003-10-28 Thread Martin Vilcans
rchType); ps.executeUpdate(); } closeStatement(ps); Also, you'd better wrap closeStatement in a finally block. Martin -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Ricardo Coutinho Sent: Tuesday, October 28, 2003 3:31 PM To: [EMAIL PROTECTED] Subject: RE: [J

RE: [JBoss-user] Installing as a windows service

2003-10-15 Thread Martin Vilcans
Use Java Service Wrapper: http://wrapper.sf.net -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian McSweeney Sent: Wednesday, October 15, 2003 11:31 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Installing as a windows service Hi all, I know that thi

RE: [JBoss-user] commit-option A: CMP fields not updated bug?

2003-10-02 Thread Martin Vilcans
ut we sadly have to use an old one. Just for the record. Martin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Scott M > Stark > Sent: Saturday, September 20, 2003 3:56 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] commi

Re: [JBoss-user] mbean question

2003-09-25 Thread Martin Vilcans
case you have a system that otherwise optimizes away reads of this variable. Martin -- Original Message -- From: [EMAIL PROTECTED] Reply-To: [EMAIL PROTECTED] Date: Thu, 25 Sep 2003 10:08:41 +0200 >Hi all, > >I'm trying to write a basic MBea

Re: [JBoss-user] commit-option A: CMP fields not updated bug?

2003-09-18 Thread Martin Vilcans
I call it within a >transaction. Sorry, that last sentence is incorrect for JBoss 3.2.2RC3, where there is no difference in behaviour between remote and local interfaces (as it should be). But my actual problem still appears in 3.2.2RC3 as I said. Martin -

[JBoss-user] commit-option A: CMP fields not updated bug?

2003-09-18 Thread Martin Vilcans
through mysql-connector-java-3.0.8-stable-bin.jar. If this is a JBoss bug, I can't see how I can be the only one with this problem. If noone recognizes this problem, I'll try to create a simple test case to reproduce this behaviour, but for now

RE: [JBoss-user] DeploymentException: Couldn't create entity command

2003-07-23 Thread Martin J. LaJeunesse
c/DB2DBA DB2DBA DB2DBA java:/DB2DBA -Original Message- From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] Sent: Wednesday, July 23, 2003 3:02 AM To: Martin J. LaJeunesse Subject: Re: [JB

[JBoss-user] DeploymentException: Couldn't create entity command

2003-07-22 Thread Martin J. LaJeunesse
I haven't had much luck getting past this error. I've been migrating from 3.0.6 to 3.2.1, using DB2. I'm getting this error on both a Win box and Linux. Follows the db2-ds.xml and the stack trace. Any and all hints are appreciated.         DB2DBA    jdbc:db2:SCIFDB2T    COM.ibm.db2.jdbc.

[JBoss-user] Single instance entity bean

2003-07-11 Thread Martin Vilcans
ve created a PK class without any fields, but this doesn't work as JBoss generates invalid SQL: "SELECT FROM currentDate WHERE". This should have been "SELECT week, day FROM currentDate". How do I do this without resorting to

RE: [JBoss-user] Closing database connections

2003-06-12 Thread Martin Vilcans
f these solutions clutter the code more or less. Paradoxally, garbage collected languages such as Java force you to do a lot of resource handling using finally clauses. In C++, code like the above would be much cleaner, thanks to the RAII pattern. Martin -

RE: [JBoss-user] Closing database connections

2003-06-12 Thread Martin Vilcans
finally { rs.close(); } } finally { stmt.close(); } } I haven't compiled or tested this, but I hope you catch my drift. Martin --- This SF.NET email is sponsored by: eBay Great deals on off

RE: [JBoss-user] CMR+EJBQL finder generates invalid SQL

2003-06-10 Thread Martin Vilcans
oclet-user list. As fk-column seems to be required, the @jboss:relation tag should report an error if it's missing, right? Martin > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Alexey > Loubyansky > Sent: Thursday, June 05, 2003 10:4

[JBoss-user] CMR+EJBQL finder generates invalid SQL

2003-06-05 Thread Martin Vilcans
week=1 AND day=1 AND scoreType='article' AND " at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1626) at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:886) . . This is clearly a bug, but it could some weirdness of mine that provokes it. I'm new to C

[JBoss-user] Logging to JMS Topic

2003-03-13 Thread Martin J. LaJeunesse
I'm trying to setup logging to a JMS appender. >From my log4j.xml: In jbossmq-destinations-service.xml: jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager

[JBoss-user] struts-menu

2003-02-13 Thread Martin J. LaJeunesse
I've run into some classloader issues trying to use struts-menu. Has anyone had success with struts-menu under jboss-tomcat? thanks, Marty La Jeunesse

[JBoss-user] hsqldb connection/JBOSS3.0.3-( jboss newbie)

2003-01-12 Thread Martin
like 'standard' calls to JDBC, my understanding was that for JBOSS3.0.3 jca/jdbc wrapper was involved, somehow, could you possibly shed some light on this. Would appreciate your insight/suggestions, and thanks again for the help. Martin

[JBoss-user] hsqldb connection/JBOSS3.0.3-( jboss newbie)

2003-01-11 Thread Martin
get the following error Build exception: D:\OLSurveyEJB\build\builDB.xml:124: java.sql.SQLException: Connection is broken: Connection refused: connect Any feed back would be appreciated, Thanks. Martin

[JBoss-user] JBoss CMP/Sybase limitation

2002-12-10 Thread Robert Martin
Hi - Sybase ASE has a limitation of 250 ANDs/ORs in a select. It also has a limitation of 250 elements inside of an IN. We've encountered a problem with the way that JBoss CMP pulls large sets of data from the database because of this limitation. CMP engine first pulls all of the primary keys

RE: [JBoss-user] Testing EJB's

2002-12-10 Thread Robert Martin
Hi - Not sure if I completely understand your question, but we use JUnitEE, which runs as a servlet inside the container. It invokes your unit tests and displays the results in HTML format. Very nice. Personally, we always run tests on the remote interfaces of our EJBs so that we can test the

RE: [JBoss-user] jbuilder 7 and jboss3.0.4

2002-12-02 Thread Robert Martin
We don't use that feature, but I do know that the plugin will wipe out any manual entries you make in the deployment descriptors when it regenerates them. The JBoss Opentool is an open source project though, so there's nothing stopping you from adding the feature if you want it. :-) Robert

RE: [JBoss-user] jbuilder 7 and jboss3.0.4

2002-12-02 Thread Robert Martin
We are using JBuilder 7 and jboss 3.0.2 together. Someone else mentioned the protegra plugin, which we tried at one time, but we settled on the JBoss Opentool, which is an open source equivalent. Here is a link to it: http://sourceforge.net/projects/jboss-opentool/ It works quite well - all the

RE: [JBoss-user] Re: ClassCastException on redeploy of .ear

2002-11-07 Thread Robert Martin
I had this exact problem, but with an ejb jar instead of an ear. I could deploy the jar exactly once and it would work fine. After that I could never redeploy it without it permanently breaking. The only way to fix the problem was to shut down the server. After reading this message, I checked

[JBoss-user] Auto-increment primary keys and CMP

2002-10-15 Thread Robert Martin
Hi - I have a table that has a NUMERIC primary key that is defined as an IDENTITY key. The primary key column is defined such that the database automatically sets the primary key on insert to the next incremental value. The user is not allowed to set the key to any value or the database will r

Re: [JBoss-user] JBoss 3.0.1 : Jetty integration

2002-08-11 Thread Felix Martin
> It looks like someone has messed up the format of > your > jbossweb.sar/META-INF/jboss-service.xml's > Configuration Element. > It's the original one : true true

[JBoss-user] JBoss 3.0.1 : Jetty integration

2002-08-11 Thread Felix Martin
Hello, I use JBoss 3.0.1 and I get this : Is it normal ? :) 14:04:07,890 INFO [JettyService] Creating 14:04:08,390 WARN [jbossweb] WARNING: ERROR@null line:2 col:-1 : org.xml.sax.SAXParseException: Element type "server" is not declared. 14:04:08,390 WARN [jbossweb] WARNING: ERROR@null line:2

[JBoss-user] Integrating Non-JMS Messaging with JBoss

2002-07-30 Thread Robert Martin
Hi - We're using a messaging product called TIBCO Rendevous that I would like to integrate with an application running on the JBoss server. TIBCO does have a JMS product but we have decided not to use it for cost reasons. My question is - what is the best way to integrate non-JMS messaging w

RE: [JBoss-user] Sybase Errors with JBossCMP

2002-07-26 Thread Robert Martin
t: Re: [JBoss-user] Sybase Errors with JBossCMP Robert Martin wrote: >Hi - > >I am trying to deploy a very simple CMP bean which I created for an existing >table in our Sybase AS Enterprise 12 database. An exception is thrown every >time JBoss tries to check a connection in to

RE: [JBoss-user] Sybase Errors with JBossCMP

2002-07-26 Thread Robert Martin
PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Sybase Errors with JBossCMP Robert Martin wrote: >>Marc - >> >>Thanks for your suggestion. I upgraded to JBOSS 3.0.1RC1. Unfortunately, >>under 3.0.1RC1 my Sybase service won't even start up, so this appears to >

[JBoss-user] Sybase Errors with JBossCMP

2002-07-25 Thread Robert Martin
Hi - I am trying to deploy a very simple CMP bean which I created for an existing table in our Sybase AS Enterprise 12 database. An exception is thrown every time JBoss tries to check a connection in to the connection pool. This exception happens when the bean is deployed and again when it is

RE: [JBoss-user] Newbie Naming.lookup question

2002-07-24 Thread Robert Martin
API rather than the JNDI InitialContext. - Original Message - From: "Robert Martin" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, July 23, 2002 4:13 PM Subject: [JBoss-user] Newbie Naming.lookup question > Hi - > > I'm just starting

[JBoss-user] Newbie Naming.lookup question

2002-07-23 Thread Robert Martin
Hi - I'm just starting to try out JBoss and I'm having some problems just doing a simple name lookup. I've confirmed that JBoss 3.0 is running without any errors in its startup log.I have successfully deployed a simple test bean to the server. I have a tiny little client application that i

RE: [JBoss-user] Generating primary keys in mySQL

2002-07-23 Thread Fanta Martin
Try to take a look at the excellent EJB Design Patterns book by Floyd Marinescu at TheServerSide.com: http://www.theserverside.com/books/EJBDesignPatterns/index.jsp There's a whole chapter [chapter 5] about primary key generation strategies, maybe it might help you. HTH Martin > -

[JBoss-user] Problems starting JBoss with Tomcat

2002-07-10 Thread Martin Fanta
on if necessary. TIA Martin --- This sf.net email is sponsored by:ThinkGeek Two, two, TWO treats in one. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/

SV: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Jon Martin Solaas
... -- martin s. -Opprinnelig melding- Fra: Bill Burke [mailto:[EMAIL PROTECTED]] Sendt: 12. juni 2002 19:45 Til: [EMAIL PROTECTED] Emne: RE: [JBoss-user] adding multicast route on Win2k I know of a few other people that have gotten clustering to work other than Sacha and I. The multicast route is

SV: [JBoss-user] adding multicast route on Win2k

2002-06-12 Thread Jon Martin Solaas
>Hope I have understood your question correctly :-) Uh, it was an answer, not a question, but anyway, your answer seems to confirm mine :-) Btw, isn't the right term broadcast and not multicast? The wole question here is about getting clustering and farming up on w2k. Clusters are implemente

  1   2   >