Re: [JBoss-user] problem with cmr, please help

2002-11-14 Thread kiuma
I've tryed also setting the post create method, but whit no result. public WorkweekPK ejbCreate( WorkweekData pWorkweek, CalendarLocal lCalendar ) throws InvalidValueException, EJBException, CreateException { // Clone the given Value Object to keep changed

Re[2]: [JBoss-user] problem with cmr, please help

2002-11-14 Thread Alex Loubyansky
Hello kiuma, what is the type of Calendar's primary key? What pk values you tried? alex Thursday, November 14, 2002, 11:38:27 AM, you wrote: k I've tryed also setting the post create method, but whit no result. k public WorkweekPK ejbCreate( WorkweekData pWorkweek, CalendarLocal k lCalendar

[JBoss-user] Please remove me from Your, I' m receiving Email virus from You

2002-11-14 Thread Thomas Krabben
Hi Please don't send any email to [EMAIL PROTECTED], because receiving PE_nimda_E virus from You. I have been forced to take down the server handling mail for [EMAIL PROTECTED] So, pleace mail your responce to [EMAIL PROTECTED] --- This

RE: [JBoss-user] Better exception logging (Was: TX Bug: Transacti onfailure not passed back to the client)

2002-11-14 Thread Jonathan . O'Connor
Craig, Thanks for the example, although you didn't have to. I'll look up Effective Java. The problem with doing a printStackTrace() for each exception in the causation chain, is that the exceptions share part of the stack trace, and this of course drives us all mad, seeing the same 20 function

[JBoss-user] JBoss 2.4.0 - how do i turn on Invoker trace

2002-11-14 Thread Lennart Petersson
--- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd524.html ___

Re: [JBoss-user] CASTOR: Installation under JBoss 3.0.4

2002-11-14 Thread Andrew
Try to search archives titled "For all..." or "Connection problem..." this theme floating around for long time. By the way JBoss3.x has "lib" directory for 3 different configurations(minimal/default/all). Regards. - Original Message - From: David Marko To: [EMAIL

Re: [JBoss-user] problem with cmr, please help

2002-11-14 Thread kiuma
Thx for your attention Alex, this is a piece o sql (postgresql) I use to create tables. --calendar section-- CREATE SEQUENCE calendar_seq; CREATE TABLE calendar ( id INTEGER DEFAULT nextval('calendar_seq'), validity_start date NOT NULL, validity_end date CHECK(validity_end =

Re[2]: [JBoss-user] problem with cmr, please help

2002-11-14 Thread Alex Loubyansky
AFAIK, generally, this won't work. If you would like to make use of db sequences consider pk-sql entity command. But it's available since 3.2. Anyway, try to fetch calendar's pk before assigning a relationship and see what value it has. Post the results here, please. alex Thursday, November

RE: [JBoss-user] CASTOR: Installation under JBoss 3.0.4

2002-11-14 Thread DI Michael Zach
Title: Nachricht David, have a look into http://jboss.org/forums/thread.jsp?forum=144thread=22900, and follow advice there. I have a successful deployment for JBoss 3.0.3 so 3.0.4 should be identical. I was writing there about a MappingException: I had just an error in my ant buildfiles

Re: [JBoss-user] delphi client to jboss through iiop

2002-11-14 Thread Philippe de M. Sevestre
Some time ago, I was involved in a project that was pretty much in the opposite way, i.e, a java client running inside a app server calling CORBA components. The basic problems are: 1. If you intend to use a nanimg service, configure both sides use the same (CORBA) naming service. 2. Which IDL

Re: [JBoss-user] problem with cmr, please help

2002-11-14 Thread kiuma
Alex, I've found the problem if calendar id is 0 it doesn't work. But I can't understand why? I've never read about it. Alex Loubyansky wrote: AFAIK, generally, this won't work. If you would like to make use of db sequences consider pk-sql entity command. But it's available since 3.2.

Re: [JBoss-user] problem with cmr, please help

2002-11-14 Thread kiuma
I added this code: CalendarData cCal = lCalendar.getValueObject(); System.out.println( Calendar pk id id: + cCal.getId() ); wHome.create( pView, lCalendar ); return true; Calendar pk id id: 0 The effective Calendar value . Alex Loubyansky wrote: AFAIK, generally, this

Re: [JBoss-user] delphi client to jboss through iiop

2002-11-14 Thread Philippe de M. Sevestre
This link may be of your interest: http://java.sun.com/j2se/1.3/docs/guide/corba/index.html - Original Message - From: Emerson Cargnin - SICREDI Serviços To: [EMAIL PROTECTED] Sent: quarta-feira, 13 de novembro de 2002 12:36 Subject: [JBoss-user] delphi client to jboss through iiop

[JBoss-user] EntityObject activity notification

2002-11-14 Thread
Hello. Is there any solution to handle the entity container activity? To keep synchrionized cache of VO on client-side I need to know what happens on server, is it possible? Thanks. --- This sf.net email is sponsored by: To learn the basics

Re[2]: [JBoss-user] problem with cmr, please help

2002-11-14 Thread Alex Loubyansky
k Alex, I've found the problem k if calendar id is 0 it doesn't work. If it's the only problem, then checkout a fresh version from CVS. I fixed it yesterday in 3.0, 3.2 and HEAD. How do you obtain a Calendar before doing wHome.create( pView, lCalendar )? There is no guarantee that calendar will

Re: [JBoss-user] problem with cmr, please help

2002-11-14 Thread kiuma
Alex I'didn't understand about pk generator. As you have suggested I'm already using a Sequence gen session bean. I've put those directives on db, as redundant code. Ps.: You are a mith, thx very much ! ;-) Alex Loubyansky wrote: k Alex, I've found the problem k if calendar id is 0 it doesn't

[JBoss-user] Problems while deploying

2002-11-14 Thread Hugo Kotsubo
Hi. I'm using jboss 2.4.0.26 with tomcat 3.2.3 and struts classes, and I'm getting a NoClassDefFoundError while starting the application .ear file. The class that generates the problem is been used in a session bean, but if I use this class in a org.apache.struts.action.Action class, the error

Re[2]: [JBoss-user] problem with cmr, please help

2002-11-14 Thread Alex Loubyansky
I thought that it's the db sets the value for calendar's pk in ejbCreate. If your code does it then it's ok. alex Thursday, November 14, 2002, 4:02:01 PM, you wrote: k Alex I'didn't understand about pk generator. k As you have suggested I'm already using a Sequence gen session bean. k I've put

[JBoss-user] 3rd party MBeans and JBoss

2002-11-14 Thread Andreas Mecky
Hi JBoss users, I know that there are a lot of developers writing MBeans to use in JBoss. I guess that many of them are reinventing the wheel over and over again. What about putting together a list of 3rd party MBeans on jboss.org? Developers can submit their stuff and (maybe) there is a

[JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread Barlow, Dustin
Has anyone gotten jsp:useBean style session's to propagate across clusters in 3.x (3.2.0beta2 in my case)? For example: jsp:useBean id=userInfo scope=session class=org.foo.session.UserInfo/ I have found that if I include the distributable/ tag in my web.xml file, that any session scoped classes

[JBoss-user] Looking for a scheduler

2002-11-14 Thread saroj kumar
Hi Folks, I am looking for a J2EE Scheduler which works in a clustered Environment. Can anybody enlighten me about this? Any idea about Jboss Scheduler? TIA, Saroj --- This sf.net email is sponsored by: To learn the basics of securing your

Re: [JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread Jules Gosnell
Here is a reply I wrote to the same problem recently - the guy came back and told me it worked fine: Bernie, I haven't had time to run the app, but I think that I know what is happening. Imagine you are talking to a remote object (e.g. an EJB). you create a HashTable - ht you call

[JBoss-user] another cmp question

2002-11-14 Thread kiuma
Hello I was wondering if it is possible to map a table with a cmp question, and doing some poeration with std SQL in a session. Is it possible is it syncronized? reagards --- This sf.net email is sponsored by: To learn the basics of

[JBoss-user] run JBoss 3.0.3 with MySQL

2002-11-14 Thread Fabiano Cruz \(Cilix Software\)
Hello What do i need to do to run JBoss 3.0.3 with MySQL ? reagards Fabiano Cruz

Re: [JBoss-user] 3rd party MBeans and JBoss

2002-11-14 Thread Juha-P Lindfors
If the mbeans are of good quality I'll take them under org.jboss.mx.services package. If someone wants to contribute please drop a note on the JBossMX forum. -- Juha On Thu, 14 Nov 2002, Andreas Mecky wrote: Hi JBoss users, I know that there are a lot of developers writing MBeans to use in

RE: [JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread Barlow, Dustin
I tried what you suggested, but it still doesn't function right. Below is test.jsp which sets up the initial session object: %@ page import=java.util.*% html head titleTest Page/title meta http-equiv=Content-Type content=text/html; charset=iso-8859-1 /head body leftmargin=4 topmargin=4

[JBoss-user] JBoss 3.0.4 w/ Jetty Classloader

2002-11-14 Thread Sonnek, Ryan
I can't tell where this problem is, but the classloader of my ear file seems to be failing. i've got an ear file packaged with a war file. within the war's WEB-INF/lib i have a jar file with reporting classes. i'm continually getting a class not found exception. if i pull the jar file out of

[JBoss-user] JBoss 3.0.4 w/ Jetty Classloader

2002-11-14 Thread Sonnek, Ryan
I can't tell where this problem is, but the classloader of my ear file seems to be failing. i've got an ear file packaged with a war file. within the war's WEB-INF/lib i have a jar file with reporting classes. i'm continually getting a class not found exception. if i pull the jar file out of

Re: [JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread Jules Gosnell
I've just notice that you are using 3.2beta ? Try in 3.0.4 - if it doesn't work there, we have a problem. If it does, you should wait for the next 3.2 release - out very soon, I believe Jules Barlow, Dustin wrote: I tried what you suggested, but it still doesn't function right. Below is

RE: [JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread LaBanca, Rick
I'm curious about a side issue. Wouldn't it also work to make the class a j2ee stateful session bean and cluster that? It could be an alternative to storing classes in the session data, correct? -Original Message- From: Jules Gosnell [mailto:jules;mortbay.com] Sent: Thursday,

RE: [JBoss-user] Jetty jsp:useBean and Clustering ..

2002-11-14 Thread Barlow, Dustin
I am using the 3.2.0beta2 from CVS. I just did a update this morning and a fresh build, so I'm pretty much up to speed with the bleeding edge on the 3.2 series. Are you basically saying that 3.0.4 has additional code/fixes that 3.2.0beta2 does not? I will try the 3.0.4 version tomorrow and

[JBoss-user] NPE and login-config.xml

2002-11-14 Thread otisg
Hello, I am using JBoss 3.0.4 and I'm getting some errors at startup. I have a Java class that starts both JBoss and Resin in 2 threads, so that I can run them in the same JVM (source snippet at the end of the message). In order to stop getting ClassNotFoundException, etc, I had to add a few

Re: [JBoss-user] run JBoss 3.0.3 with MySQL

2002-11-14 Thread Stephen Coy
On Friday, November 15, 2002, at 04:47 AM, Fabiano Cruz ((Cilix Software)) wrote: What do i need to do to run JBoss 3.0.3 with MySQL ? To begin with, you need to read this http://prdownloads.sourceforge.net/jboss/JBoss.3.0QuickStart.Draft3.pdf>. Steve

RE: [JBoss-user] Lookup MBean

2002-11-14 Thread Luttrell, Peter
Cool, Thanks. We should probably see about weaving that into the jboss3 book. .peter -Original Message-From: Greg Turner [mailto:[EMAIL PROTECTED]]Sent: Wednesday, November 13, 2002 5:23 PMTo: [EMAIL PROTECTED]Subject: Re: [JBoss-user] Lookup MBeanPeter,For use in

RE: [JBoss-user] Initial release of xPetStore, an implementation of PetStore using xDoclet

2002-11-14 Thread Herve Tchepannou
Title: RE: [JBoss-user] Initial release of xPetStore, an implementation of PetStore using xDoclet If you have any prob compiling the app on Windows because the command line is too long, remove unecessery jar files from XPETSTORE_HOME/src/petstore/lib/main/xdoclet-1.2b1 and keep the following

RE: [JBoss-user] JBoss 3.0.4 w/ Jetty Classloader

2002-11-14 Thread Sebastian Hauer
It works for me using 3.0.4/Jetty. I have some thrirdparty jars in my .ear/.war/WEB-INF/lib. Where inside your EAR is the code located that can't access the stuff in WEB-INF/lib? I would guess that it might be some kind of a classloader scope problem but that seems strange with JBoss' new

Re: [JBoss-user] Lookup MBean

2002-11-14 Thread Scott M Stark
There is already an example of accessing the MBeanServer via the RMIAdaptor. You are looking for a non-external usage example of the MBeanServer? Scott StarkChief Technology OfficerJBoss Group, LLC - Original Message - From:

Re: [JBoss-user] How to access datasource at java:whatever from anotherthread?

2002-11-14 Thread Colin Sampaleanu
Actually this one turned out to be due to using some bad sample/test code in the JBoss source, which has an extraneous character. If you look in EJBTester.java and SimpleServlet.java, the code there sets the Context.URL_PKG_PREFIXES (aka java.naming.factory.url.pkgs) value to