Re: [JBoss-user] When ejbCreate() is called

2002-08-21 Thread Ole Husgaard
Regards, Ole Husgaard. Saroj Kumar wrote: > > Hi All, > > I have a doubt about the time when ejbCreate() is called by JBOSS while > loading the beans. > > Is it the case that when bean is loaded in the memory, ejbCreate is > called or when any client looks up Home interf

Re: [JBoss-user] Serializable inner classes as CMP fields

2002-08-21 Thread Ole Husgaard
t/tracker/index.php?func=detail&aid=563120&group_id=22866&atid=376685 I'm not an expert on these issues, but I think that the problem is that on hot deploy another classloader load the new class. But the datasource that does the deserialization is still using th

Re: [JBoss-user] ejb-link

2002-08-19 Thread Ole Husgaard
. Best Regards, Ole Husgaard. Anthony Geoghegan wrote: > > I have a element pointing to a bean in a seperate jar. > However when I deploy the bean I get: > > 2002-08-19 11:01:57,984 WARN [org.jboss.system.ServiceController] Problem > starting service > jboss.j2ee:service=

Re: [JBoss-user] ejb/j2ee security and client authentication

2002-07-18 Thread Ole Husgaard
Hi, Sounds like you want to use the database login module org.jboss.security.auth.spi.DatabaseServerLoginModule. It fetches users, passwords and roles from a JDBC source, and you can even customize the SELECTs to fit your existing database. Best Regards, Ole Husgaard. "Gary S. Cuozzo&q

Re: [JBoss-user] Problem with org.jboss.mq.SpyXAResource.

2002-07-11 Thread Ole Husgaard
interoperability problems with other XA resources. Oracle tried to do the same thing with their XA drivers, but quickly had to fix it. I would call this a bug in the Informix XA driver. Best Regards, Ole Husgaard. David Stoleson wrote: > > Using a JMS Queue and a Message Driven Bean t

Re: [JBoss-user] JMS Timeout and Rollback YIKES!!!

2002-07-09 Thread Ole Husgaard
ansaction timeout, you can raise that limit. > I'm using Jboss 2.4.1 I'm at 3.1alpha, and not sure if I remember correctly. Try looking for a line like 300 in your JBoss configuration file, and raise the timeout. Best Regards, Ole Husgaard. --

Re: [JBoss-user] Firebird service broken with current CVS HEAD?

2002-07-04 Thread Ole Husgaard
to create the db on > the start step. Setting CreateOnStart to false didn't help me, but manually deploying firebird-service.xml after the rar solved my problem. Thanks. And thanks for this fine driver, btw. Best Regards, Ole Husgaard.

Re: [JBoss-user] jrockit installation on RH7.2

2002-07-04 Thread Ole Husgaard
/jrockit-3.1-j2se-1.3.1-1.rpm.sh Best Regards, Ole Husgaard. --- This sf.net email is sponsored by:ThinkGeek Caffeinated soap. No kidding. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL

[JBoss-user] Firebird service broken with current CVS HEAD?

2002-07-04 Thread Ole Husgaard
his a known problem? Do someone else have the firebird driver working in the current cvs tree? Best Regards, Ole Husgaard. --- 2002-07-04 12:00:10,444 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/osh/src/java/jboss/jboss/

Re: [JBoss-user] HeuristicRollbackException after being idle

2001-10-21 Thread Ole Husgaard
e TM spit out tons of debug information about what goes on with transactions. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

[JBoss-user] Re: [JBoss-dev] Transaction bug in JBoss 2.4.1 ?

2001-10-17 Thread Ole Husgaard
on instead? Best Regards, Ole Husgaard. Markus Menner wrote: > > It seems that there is something wrong in the Transaction system; is it ab > bug in JBoss 2.4.1 ? > > Consider the following testcase: > > Synchonization object: > * > package com.mvcsoft.tests.dev

Re: [JBoss-user] about a commit

2001-10-02 Thread Ole Husgaard
timeout value in jboss.jcml. Best Regards, Ole Husgaard. "Pedro Gómez" wrote: > > I am running a proccess and when i have few data it runs well, i mean it performs >the commit and i can see the result in the DB, but when there are many data and the >proccesses takes

Re: [JBoss-user] JBOSS 2.4.1 and JacOrb 1.3.3

2001-09-28 Thread Ole Husgaard
Hi, What if you move your jar to the JBoss lib/ext directory instead of having it in your classpath? I guess that should get you around security restrictions. Also, there is some unfinished JacORB-related code in CVS module contrib/iiop that may provide some hints. Best Regards, Ole Husgaard

Re: [JBoss-user] Refresh or Reload Bean

2001-09-28 Thread Ole Husgaard
the bean to > increase the performance but when do a findByPrimaryKey > it will took 2s an more. Is this normal? Not sure what kind of proxies you are talking about here. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] htt

Re: [JBoss-user] Endless loop in Transaction Interceptor

2001-09-26 Thread Ole Husgaard
this by letting your client call bean.getOrt() and pass this as the argument to your changeMyOrt() method. Alternatively, move this functionality to a stateless session bean. Best Regards, Ole Husgaard. Lutz Hilken wrote: > > Hi, > > when calling a Bean (CMP) and passing a

Re: [JBoss-user] Refresh or Reload Bean

2001-09-25 Thread Ole Husgaard
rformance if you implement the isModified() hack to avoid doing a store of unchanged data. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Transaction Exception !!! / ejbStore

2001-09-22 Thread Ole Husgaard
the second data source you end up with a heuristic, and your data integrity is void. To get around that problem, use _real_ XA datasources, without the wrapper. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] UserTransaction from client side

2001-09-22 Thread Ole Husgaard
ooking it up, you might be able to get around it by doing it the other way: Looking it up, and then create if not found. Best Regards, Ole Husgaard Lutz Hilken wrote: > > Ok, I cut the piece for getting the TA: it's this: > >public static UserTransaction getTransaction

Re: [JBoss-user] UserTransaction from client side

2001-09-19 Thread Ole Husgaard
Regards, Ole Husgaard. Lutz Hilken wrote: > > Hi, > > I want to use Client-controlled transactions by using UserTransaction. When > testing it, some problems occured. See this code: > > UserTransaction ta = null; > try { > String key = n

Re: [JBoss-user] Wierd RollBack Exception

2001-08-09 Thread Ole Husgaard
Hi, If you don't mind lots of debug output, you can change the constant named "trace" near the top of src/main/org/jboss/tm/TxCapsule.java to true, and recompile. That should tell you just about everything transaction-related going on in JBoss. Best Regards, Ole Husgaard.

Re: [JBoss-user] New feature "UserTransaction" in JBoss2.4

2001-08-08 Thread Ole Husgaard
est Regards, Ole Husgaard. > Edward Wang wrote: > > Hi, Sir: > > I am using JBoss 2.4 Beta, and I want to use the new feature "UserTransaction" in my >stand alone client. > I lookup it in the JNDI but failed to use it. May someone help me by giving some >hint or ex

Re: [JBoss-user] User Transaction support for JBoss?

2001-08-01 Thread Ole Husgaard
es not currently work. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-28 Thread Ole Husgaard
r all our needs, by far. If/when there is a nntp gateway to the forums, we could set up a bidirectional gateway between the mailing list and the newsgroup. That way, everything would be nicely connected. Best Regards, Ole Husgaard. ___ JBoss-user m

Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-28 Thread Ole Husgaard
Juha-P Lindfors wrote: > > On Fri, 27 Jul 2001, Ole Husgaard wrote: > > Netscape 4.61??? > > Yep. Version 4.61 [en}-99147, win32 build to be exact. > > > I use that, and cannot even see the left side > > navigation links on the front page of www.jboss.org, >

Re: [JBoss-user] java.io.NotSerializableException need help

2001-07-28 Thread Ole Husgaard
Hi, An instance of a class implementing Serializable can still be non-serializable at runtime, if it holds a reference to another instance that is not serializable at runtime. See: http://java.sun.com/products/jdk/1.2/docs/guide/serialization/ Best Regards, Ole Husgaard. yan fan wrote

Re: [JBoss-user] Jive Forums speed feed-back wanted

2001-07-26 Thread Ole Husgaard
n see the left side navigation links on the front page of www.jboss.org, (big yellow blurb over the links) so I have not been able to navigate to the forum. Did you use a direct link? Best Regards, Ole Husgaard. P.S: Do you _really_ mean to shut down the jboss-

Re: [JBoss-user] Classnames in JNDI

2001-07-20 Thread Ole Husgaard
ssert(primaryKey.equals("org.jboss.test.cts.keys.AccountPK")); assert(remoteInterface.equals("org.jboss.test.cts.interfaces.CtsBmp")); System.out.println("Meta-data OK"); This test only tests the metadata for entity beans. With which kinds of beans do you have these problems

Re: [JBoss-user] Problem with postgresql

2001-07-20 Thread Ole Husgaard
that is/was a bug in JBoss. Problem is that the container does not keep track of open resources, and thus does not know which connections to enlist. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net

Re: [JBoss-user] Classnames in JNDI

2001-07-19 Thread Ole Husgaard
e. The EJB1.1 specification is surprisingly silent on this, but the Javadocs for BeanMetaData.getHomeInterfaceClass() says: "Obtain the Class object for the enterprise Bean's home interface.". Doesn't it work that way in JBoss? Best Regards, Ole Husgaard. ___

Re: [JBoss-user] JTS

2001-07-16 Thread Ole Husgaard
be to other EJB servers, but to _anything_ that is based on OTS and is capable of calling JBoss or being called by JBoss. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] CosTransactions.Current

2001-07-16 Thread Ole Husgaard
It is a lot easier, and less error-phrone, to just declare your transaction needs in your descriptor file and let the container handle it. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] pass by reference

2001-07-16 Thread Ole Husgaard
ut" or "out" parameter attributes, so _only_ return values and exceptions are sent back to the client. Try: UserData getUserData(String username) Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] JMX Bug

2001-07-15 Thread Ole Husgaard
Hi, This is really no problem. It is a known bug in JMX-RI. JBoss detects it, logs it, and works around it. Best Regards, Ole Husgaard. ralph wrote: > > Using v2.4.0 Beta out of the box ( unzip and call run.bat ) I find the > following error message in the server.log: > >

Re: [JBoss-user] UserTransaction in servlets using EJB

2001-07-13 Thread Ole Husgaard
in the server' exception. I am not sure if there is any UserTransaction support for web components, or how such support should be implemented. Consider delegating your transactional work to session beans. Best Regards, Ole Husgaard. Tomasz Skutnik wrote: > > Hi everybody. > >

Re: [JBoss-user] Urgent, May someone tell me how JBoss realize a Transaction?

2001-07-11 Thread Ole Husgaard
llowed for message beans too.) So basically you are on your own if you want to do this: No EJB conforming container can support it. Best Regards, Ole Husgaard. > Edward Wang wrote: > > Now I am using JBoss+Tomcat 2.22 pack. > > I setup a Datasource that connect to SQLServer 7.

Re: [JBoss-user] 2 WEEKS EVICTION NOTICE

2001-07-11 Thread Ole Husgaard
ou do not think that you do not get enough traffic at your website! If you want to unsubscribe from this list yourself, that's your choice. But PLEASE do not FORCE everybody else. Did I make myself clear? Best Regards, Ole Husgaard. ___ JBoss

Re: [JBoss-user] Closing connections, etc

2001-07-10 Thread Ole Husgaard
) {} > } Or even better: resource = try { } finally { resource.close(); } Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] CMP Entity Bean using Opta2000 Driver - Has Anyone got this to work???

2001-07-10 Thread Ole Husgaard
IBM or BEA) said: "We do NOT want to support this; that driver will _never_ work in our application server". Best Regards, Ole Husgaard. marc fleury wrote: > > the unicity of the Xid is a good question although I suspect that > class+number is a unique combo, meaning that i

Re: [JBoss-user] Taking backups

2001-07-01 Thread Ole Husgaard
have to be changed, as we do not want to have a RMI thread waiting for each invocation request enqueued. How do you get the measurements needed for the adaptation? Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] Entity beans and rows in tables

2001-06-30 Thread Ole Husgaard
advantage. The conclusion is harsh, though obvious: EJB1.1 CMP is no good. I guess this is why CMP is changed for EJB2.0. Best Regards, Ole Husgaard. [EMAIL PROTECTED] wrote: > > >From reading the EJB spec and a number of other documents, I have > gained the impression that

Re: [JBoss-user] Taking backups

2001-06-30 Thread Ole Husgaard
e then usually written to some kind of "delta" files. When the backup is over, the main DB files are unfrozen, and the DBMS applies the delta file to the main database files. That makes the backup look like a big read-only transaction reading the enti

Re: [JBoss-user] computerplanet.com

2001-06-26 Thread Ole Husgaard
ders that something JBoss-related can be found somewhere. But is is _not_ OK that this list be used for advertizing web sites where something JBoss-related may be found at some point in the future. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] computerplanet.com

2001-06-26 Thread Ole Husgaard
as in freedom, not free beer) redistribution, I would never have done any work on JBoss. When I do Open Source programming, I do not receive payment, but that does not mean that anybody can do whatever they want with my work. I retain copyright, and it is always under some license that _requires_

Re: [JBoss-user] RE: freeloading

2001-06-26 Thread Ole Husgaard
e of trademarks for Open Source products protects against the use of the marks for products that have been modified in an unauthorized way. LGPL may give me permission to take the JBoss sources and change them and sell the modified product. But the trademark status of JBoss makes it impossible for me to legally sell the modified product under the JBoss name, unless I can obtain a license to use the trademark. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] computerplanet.com

2001-06-26 Thread Ole Husgaard
as in freedom, not free beer) redistribution, I would never have done any work on JBoss. When I do Open Source programming, I do not receive payment, but that does not mean that anybody can do whatever they want with my work. I retain copyright, and it is always under some license that _requires_

Re: [JBoss-user] computerplanet.com

2001-06-26 Thread Ole Husgaard
ders that something JBoss-related can be found somewhere. But is is _not_ OK that this list be used for advertizing web sites where something JBoss-related may be found at some point in the future. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] RE: freeloading

2001-06-26 Thread Ole Husgaard
e of trademarks for Open Source products protects against the use of the marks for products that have been modified in an unauthorized way. LGPL may give me permission to take the JBoss sources and change them and sell the modified product. But the trademark status of JBoss makes it impossible for me to legally sell the modified product under the JBoss name, unless I can obtain a license to use the trademark. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user

Re: [JBoss-user] transaction timed out

2001-06-25 Thread Ole Husgaard
Hi, Look for property TransactionTimeout in MBean TransactionManagerService in your jboss.jcml file. Best Regards, Ole Husgaard. "Schouten, Andreas" wrote: > > Hello, > > we get sometimes a transaction rollback because a timeout. (Then indeed the > connection to

Re: [JBoss-user] repackaging JbossUtilAutonumber

2001-06-12 Thread Ole Husgaard
GPL. Best Regards, Ole Husgaard. P.S: IMHO enterprise beans do _not_ have their right place in the JBoss core server. It would be better if this was in the contrib module. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/li

Re: [JBoss-user] Obtaining UserTransaction from within servlet

2001-04-30 Thread Ole Husgaard
Hi, UserTransaction support for stand-alone clients was just recently added to CVS. You may have to grap the latest CVS sources if you need this now. When you have it, a simple lookup of "UserTransaction" will do. Best Regards, Ole Husgaard. Ed Swierk wrote: > > I

Re: [JBoss-user] Transactions

2001-04-29 Thread Ole Husgaard
en different VMs. But as long as all transactional inter-bean calls are within the local VM you should have no problems. Best Regards, Ole Husgaard. ___ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user