Re: [JBoss-user] Running lab4 from JBoss advanced on 3.2.1 --> fails

2003-11-27 Thread Jon Haugsand
* Jon Haugsand > * Adrian Brock >> You should remove the SRP stuff from >> client/auth.conf >> It is only there as an example. > > OK, but I am just in the process to make my own authentication > modules. Good thing to experience with a working example > > It

Re: [JBoss-user] Running lab4 from JBoss advanced on 3.2.1 --> fails

2003-11-27 Thread Jon Haugsand
* Adrian Brock > You should remove the SRP stuff from > client/auth.conf > It is only there as an example. OK, but I am just in the process to make my own authentication modules. Good thing to experience with a working example It does not work though. :-) -- Jon Haugsand, [EMAIL

[JBoss-user] Running lab4 from JBoss advanced on 3.2.1 --> fails

2003-11-27 Thread Jon Haugsand
Class.java:1494) -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE

[JBoss-user] Application is hanging

2003-09-24 Thread Jon Haugsand
look? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [

Re: [JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
* Jon Haugsand > Thanks. That was the problem. (Source forge should learn from > Bugzilla here. It was quite cumbersome to get into the correct > state.) However, JBoss does not look at this as a bug: Message: Logged In: YES user_id=543482 It is defined by the specification. Th

Re: [JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
* Adrian Brock > On Mon, 2003-09-15 at 11:09, Jon Haugsand wrote: >> * Adrian Brock >> > www.sf.net/projects/jboss >> > click bugs >> >> Yes, I know. But I still cannot find a way to REPORT a bug. (Bug I >> have been blind before. :-) ) > > H

Re: [JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
* Adrian Brock > www.sf.net/projects/jboss > click bugs Yes, I know. But I still cannot find a way to REPORT a bug. (Bug I have been blind before. :-) ) -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net

[JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
* Adrian Brock > Report it as a bug. I don't see it mentioned in the spec. Hmm, cannot find any way to report any bug. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is sponsored by:ThinkGeek We

[JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
Do you think this helped? No. Admittedly deployment worked, but when issuing the finder, I got an Oracle error message. At least something is wrong. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no ---

[JBoss-user] Re: EjbQL-bug in Jboss?

2003-09-15 Thread Jon Haugsand
the only work around is to change into NUMBER(1) or into VARCHAR(255). -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven.

EjbQL-bug in Jboss? (was: Re: [JBoss-user] Isn't the string literal '0' allowed?)

2003-09-15 Thread Jon Haugsand
* Adrian Brock > On Mon, 2003-09-15 at 09:26, Jon Haugsand wrote: >> * Adrian Brock >> > It is expecting a number not a string. >> >> And why should it expect a numer and not a string? Strings are >> clearly allowed in EJB QL. > > because tillatLaaneadga

Re: [JBoss-user] Isn't the string literal '0' allowed?

2003-09-15 Thread Jon Haugsand
* Adrian Brock > It is expecting a number not a string. And why should it expect a numer and not a string? Strings are clearly allowed in EJB QL. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email

Re: [JBoss-user] NullPointerException when trying to access a home method.

2003-09-15 Thread Jon Haugsand
* Jon Haugsand > The following stack trace shows a strange situation. Can anyone hint > to me where to look for the error? Actually, the problem happens to take place during deployment. The resulting error seen here is quite strange, but I still focus on the problem at deployment. See se

[JBoss-user] Isn't the string literal '0' allowed?

2003-09-15 Thread Jon Haugsand
, ejb-2_0-fr2-spec.pdf, I find this strange. Anyone know what the proble is? (In the Oracle schema, the field tillatLaaneadgang is defined as char(1). -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is

[JBoss-user] NullPointerException when trying to access a home method.

2003-09-15 Thread Jon Haugsand
) at norgesbank.bank.sil.entiteter.verdipapir.VerdipapirTest.setUp(VerdipapirTest.java:34) at org.apache.cactus.AbstractTestCase.runBareServerTest(AbstractTestCase.java:233) -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no

Re: [JBoss-user] How to deploy simple html and jsp files

2003-09-03 Thread Jon Haugsand
* Sheldon Hearn > On (2003/09/03 14:22), Jon Haugsand wrote: > >> Is it possible to place simple html and/or jsp files directly to >> JBoss-3.2.1 bundled with Tomcat? If so, where should you copy the >> files? > > I don't think so. JBoss needs to know t

[JBoss-user] How to deploy simple html and jsp files

2003-09-03 Thread Jon Haugsand
Is it possible to place simple html and/or jsp files directly to JBoss-3.2.1 bundled with Tomcat? If so, where should you copy the files? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is sponsored

[JBoss-user] Web-console problems

2003-08-14 Thread Jon Haugsand
(Retrying) * Jon Haugsand > Where in http://localhost:8080/web-console/index.html can one look at > and administrate the jms queues? > Noone seems to know anything about my question, so let me try another variant. Looking into the web-console, I find choices like: J2EE/JSR-7

[JBoss-user] [Jon Haugsand] Queue management in web-console

2003-08-14 Thread Jon Haugsand
Where in http://localhost:8080/web-console/index.html can one look at and administrate the jms queues? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including

[JBoss-user] Queue management in web-console

2003-08-14 Thread Jon Haugsand
Where in http://localhost:8080/web-console/index.html can one look at and administrate the jms queues? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including

Re: [JBoss-user] jbossjmx-ant.jar

2003-06-20 Thread Jon Haugsand
* Jon Haugsand > Trial and error showed me that the file jbossjmx-ant.jar was necessary > to run a stand-alone client program towards my JBoss application. > > I naively thought that the file jbossall-client.jar was enough. Why > is that? (JBoss 3.2.1) > > Without it, I ge

[JBoss-user] jbossjmx-ant.jar

2003-06-20 Thread Jon Haugsand
norgesbank.servicelocator.EjbHomeFactory.lookUpSynkronGrensesnittHome(EjbHomeFactory.java:467) at norgesbank.bank.sil.command.TaskCommand.(TaskCommand.java:25) at norgesbank.bank.sil.command.Sil.doCommand(Sil.java:169) at norgesbank.bank.sil.command.Sil.main(Sil.java:193) [n -- Jon Haugsand

[JBoss-user] Bug in 3.2.1?

2003-06-06 Thread Jon Haugsand
ava:110) at $Proxy59.findAktivtByIsin(Unknown Source) at norgesbank.bank.sil.entiteter.pant.PantBean.checkConsistency(PantBean.java:2167 ) -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is sponso

Re: [JBoss-user] Hot change to the transaction timeout

2003-05-31 Thread Jon Haugsand
* Adrian Brock > Was the console manager undeployed? I didn't do anything special. > > We currently have no mechanism to make wars > wait for their required services. I just found it strange that a change to a deploy/SOMETHING.xml should mix up the JBoss. -- Jon Haugsand,

[JBoss-user] Hot change to the transaction timeout

2003-05-30 Thread Jon Haugsand
at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:458) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:200) -- Jo

[JBoss-user] Remote synchronous deployment

2003-05-30 Thread Jon Haugsand
services? Greping the server.log? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is sponsored by: eBay Get office equipment for less on eBay! http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5

Re: [JBoss-user] ORA 00921 revisited

2003-05-28 Thread Jon Haugsand
* Jon Haugsand > Look at the following code fragment: > > public void testEqual() throws Exception { > cat.debug("testEqual"); > KonfigurasjonPK pkp = new KonfigurasjonPK(1); > KonfigurasjonLocal kl = konfHome.findByPrimaryKey(pkp

[JBoss-user] ORA 00921 revisited

2003-05-28 Thread Jon Haugsand
-05-28 12:41:40,410 DEBUG [org.apache.cactus.server.AbstractWebTestCaller] Test result : [Test failed, Exception message = [Load failed; CausedByException is: ORA-00921: unexpected end of SQL command ]] -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --

Re: [JBoss-user] Transaction differences in weblogic and jboss

2003-03-31 Thread Jon Haugsand
* Manoj Sasidharan > Are you running on WLS 7.x??? We found some differences b/w WLS 6.x and WLS > 7.x in the transaction feature. We use Weblogic 7.0. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net em

[JBoss-user] Transaction differences in weblogic and jboss

2003-03-27 Thread Jon Haugsand
t possible to tune this behaviour in JBoss? (In the long term we have to rewrite our code so that we avoid such constructions all together.) -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is sponsor

Re: [JBoss-user] Possible bug: unchecked does not seem to work.

2003-03-25 Thread Jon Haugsand
* Jon Haugsand > > flag = "required" /> > > I found out: guest -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --

Re: [JBoss-user] Possible bug: unchecked does not seem to work.

2003-03-25 Thread Jon Haugsand
t this one into the above structure? By the way, thanks a lot. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 20

[JBoss-user] Possible bug: unchecked does not seem to work.

2003-03-25 Thread Jon Haugsand
=null [java] javax.ejb.EJBException: checkSecurityAssociation; CausedByException is: [java] Authentication exception, principal=null [java] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:240) JBoss version is 3.0.2. -- Jon Haugsand, [EMA

Re: [JBoss-user] Application deadlock detected.

2003-03-21 Thread Jon Haugsand
* Jon Haugsand > When porting an application from weblogic to JBoss, the following > failure took place: > > Application deadlock detected: Current thread already has tx lock in > different transaction. I found out what happened, here is a sketch: 1 Transaction begins 2

[JBoss-user] Application deadlock detected.

2003-03-21 Thread Jon Haugsand
is this behaviour different from Weblogic? 3. Is it possible to log at which point my application enters and leaves transactions? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This sf.net email is sponsored

Re: [JBoss-user] Transaction attributes

2003-02-11 Thread Jon Haugsand
* Lennart Petersson > I think it is TX_REQUIRED by default. Thanks to you and Alex. (Amazing how fast one gets answers.) Is this JBoss-spesifics a part of Sun's ejb spec? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges

[JBoss-user] Transaction attributes

2003-02-11 Thread Jon Haugsand
In ejb-jar.xml one can (and should) define the applications transaction policy. This is typically done in two levels, per bean and per finder methods, is it? Anyway, what happens if you _don't_ give any specifics? I.e. what is the default behaviour? Is it "supported"? --

Re: [JBoss-user] Where should auth.conf go for a client app?

2003-02-04 Thread Jon Haugsand
* Jon Haugsand > Is it possible to include this file (and the policy file) inside the > client jar file where the client application resides? * Scott M. Stark > Yes. Use a jar URL to reference the file. Er..? Where? (How? E.g. "file:jar:!auth.conf"?) -- Jon Haugsan

Re: [JBoss-user] basic clustering question

2003-01-31 Thread Jon Haugsand
ugh, and I think Sacha et al is working on some distributed cache and/or lock. The interesting case is the stateful session beans. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.NET email is sponsored by: S

Re: [JBoss-user] How to assign method-permission to create methods?

2003-01-29 Thread Jon Haugsand
ere helped a lot. However, it is strange that the behaviour of Weblogic is different from JBoss. -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.NET email is sponsored by: SourceForge Enterprise Edition +

[JBoss-user] How to assign method-permission to create methods?

2003-01-28 Thread Jon Haugsand
at sun.rmi.transport.Transport.serviceCall(Transport.java:143) at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) at java.lang.Thread.run(Thread.java:479) -- Jo

Re: [JBoss-user] Problem with JBoss and ejbql

2003-01-28 Thread Jon Haugsand
* Jon Haugsand > Is anyone able to tell me what is wrong with the following ejbql > expression (formatted for readability): > > > It seems as >= is not allowed. It worked when I changed into vp.forfallsDato > ?1 OR vp.forfallsDato = ?1. -- Jon Haugsand, [EMAIL PROTECTE

Re: [JBoss-user] Where should auth.conf go for a client app?

2003-01-28 Thread Jon Haugsand
ny security enforcement anyway, so there is no need to protect these files, is there? -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Some

Re: [JBoss-user] Problem with JBoss and ejbql

2003-01-27 Thread Jon Haugsand
papirLocal > JH> org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested >throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered >"vp.forfallsDato IS NULL ) OR vp.forfallsDato >=" > JH> at line 1, column 211. > JH> Was expecting o

[JBoss-user] Problem with JBoss and ejbql

2003-01-27 Thread Jon Haugsand
t; ... "LOCATE" ... "SQRT" ... "(" ... "+" ... -- Jon Haugsand, [EMAIL PROTECTED] http://www.norges-bank.no --- This SF.NET email is sponsored by: SourceForge Enterpris

[JBoss-user] What is the proper way to name a datasource?

2002-11-08 Thread Jon Haugsand
Context ctx = new InitialContext(); DataSource pool = (DataSource)ctx.lookup("OracleDS"); return pool.getConnection(); So, is there a way that works in all cases? -- Jon Haugsand, <[EMAIL PROTECTED]> Nor

[JBoss-user] Transaction exception, possible timing problems?

2002-11-04 Thread Jon Haugsand
ack) [java] <> -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be

Re: SV: [JBoss-user] Extremely slow transaction

2002-10-31 Thread Jon Haugsand
* Jon Haugsand > > Jeg synes jeg ble kvitt disse når jeg la inn følgende kode i bønnen: > > * @jboss:read-ahead strategy="none" page-size="0" Sorry for the Norwegian. This was meant for Odd Rune only. -- Jon Haugsand, <[EMAIL PROTECTED]> N

Re: SV: [JBoss-user] Extremely slow transaction

2002-10-31 Thread Jon Haugsand
ble kvitt disse når jeg la inn følgende kode i bønnen: * @jboss:read-ahead strategy="none" page-size="0" > > Any help appreciated. You're welcome... -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ---

Re: [JBoss-user] NullPointerException on a findByPrimaryKey

2002-10-17 Thread Jon Haugsand
dByPrimaryKey(kpk); And this is a part of the output: klh=norgesbank/ejbbasic/GenIdLocalHome, kpk=[.PRIMARYKEY.] 2002-10-17 11:33:12,611 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy: java.lang.NullPointerException at The primary key objec

[JBoss-user] NullPointerException on a findByPrimaryKey

2002-10-17 Thread Jon Haugsand
ace-method */ public abstract void setNavn(String v); /** * @ejb:interface-method * @ejb:persistent-field * @ejb:pk-field */ public abstract String getNavn(); Sometimes the findByPrimaryKey returns NullPointerException. Has anyone experimented something similarly?

Re: [JBoss-user] Extremely slow transaction

2002-10-11 Thread Jon Haugsand
want to know what is happening and how to control my application. > You might also optimize a bit by tweaking in jbosscmp-jdbc to fetch multiple entites >at a time, and have the status as one load group. Yes, I think I try this first. -- Jon Haugsand, <[EMAIL PRO

Re: [JBoss-user] Extremely slow transaction

2002-10-11 Thread Jon Haugsand
djbosscmp-jdbc.xml and standardjaws.xml, but to no help. The parameteres set is: in standardjbosscmp-jdbc.xml: on-find * in standardjaws.xml: false We now are in the process to do this on the individual

Re: [JBoss-user] Extremely slow transaction

2002-10-10 Thread Jon Haugsand
ther requests out. 2. An exception would roll back all updates to the entity bean instances. Of course, no 2 can be solved by designing differently, but that is also a risk in our project. No 1 has to be tested. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank,

Re: [JBoss-user] Extremely slow transaction

2002-10-10 Thread Jon Haugsand
* Marius Kotsbak > Jon Haugsand wrote: > > >We have a table with approx 1500 rows and a finder that picks one or > >two rows during each query like this: > > > >for (id=0;id++;id<1000) { > > // Start transaction > > Collection c=findByStatus(

Re: [JBoss-user] Value Objects...

2002-10-09 Thread Jon Haugsand
I find it useful to use a primary key class even when I have only a single field as a primary key. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:Th

Re: [JBoss-user] mysterious slowness on entity bean update FIXED

2002-10-09 Thread Jon Haugsand
* Dain Sundstrom > If you are interested, the read-ahead strategies are covered in detain > in the JBossCMP Documentation ($10 flashline.com). What it does not cover is how to do this with EJB-QL. (Or did I misunderstand?) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges

[JBoss-user] Extremely slow transaction

2002-10-09 Thread Jon Haugsand
how to tune this for each finder only shows it when you use JBOSS-finders and not EJB-QL. Is it possible ot use EJB-QL and tune this per finder? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> -

Re: [JBoss-user] [OT] can't run xdoclet ;(

2002-10-08 Thread Jon Haugsand
correct classpath... ;( I seem to remember similar problems, but I am not sure. In any case, try to explicitely give the classpath in the taskdef task: -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no>

Re: [JBoss-user] [OT] can't run xdoclet ;(

2002-10-08 Thread Jon Haugsand
e/gama/prog/java/jboss/build.xml:54: taskdef class > xdoclet.ejb.EjbDocletTask cannot be found > > > classpath="${xdoclet.classpath}"/> To be sure that xdoclet _really_ is in your classpath you may try the following in front of : --

Re: [JBoss-user] (no subject)

2002-10-08 Thread Jon Haugsand
sh > 50 > > Isn't this quite short? What I did was to copy the docs/examples/jca/oracle-service.xml to server/MYSERVER/deploy and edit this. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ---

Re: [JBoss-user] MQ Series messages to JBoss message beans?

2002-10-04 Thread Jon Haugsand
atically a message driven bean? Is it? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

[JBoss-user] MQ Series messages to JBoss message beans?

2002-10-01 Thread Jon Haugsand
that JBoss own JMS implementation is turned off and MQ Series is used instead. Has anyone done anything like this and is willing to share his/her solution? Clustering is an important subject, but mainly in the sense of detecting/resending lost messages. -- Jon Haugsand, <[EMAIL PROTEC

Re: [JBoss-user] JBOSS - Components library

2002-09-27 Thread Jon Haugsand
hat any free downloaded component should work out of the box, but most of us would want to reconfigure most of the components to make it fit. Java isn't such a good language to use to configure things from the outside. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <

Re: [JBoss-user] JBOSS - Components library

2002-09-27 Thread Jon Haugsand
ons to problems, one often have to buy packages, so when someone can deliver an open source package with JBoss and beans, it will compete well with other solutions. > > great idea though Yeah. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http

Re: [JBoss-user] JBOSS - Components library

2002-09-27 Thread Jon Haugsand
algorithm processing component > - MMC algorithm processinc component > > As you see, the domains can be infinite and the > associated components too :) - banking - customer component - account component (Associated with the components should be a set of interfaces.) --

Re: [JBoss-user] No default logging in JBoss 3.0.2

2002-09-26 Thread Jon Haugsand
* Jon Haugsand > * Lennart Petersson > > Maybe log4j.xml defaults the threshold to INFO? Ins't only DEBUG > > written to file (at least was this the scenario pre 3.0). > > > > Thanks, but I cannot see that I have any other configuration setup > than I have i

Re: [JBoss-user] No default logging in JBoss 3.0.2

2002-09-26 Thread Jon Haugsand
* Lennart Petersson > Maybe log4j.xml defaults the threshold to INFO? Ins't only DEBUG > written to file (at least was this the scenario pre 3.0). > Thanks, but I cannot see that I have any other configuration setup than I have in 3.0.1. -- Jon Haugsand, <[EMAIL PROTECTE

[JBoss-user] No default logging in JBoss 3.0.2

2002-09-26 Thread Jon Haugsand
After upgrading to JBoss 3.0.2 the server no longer produces any output to log/server.log. The documentation does not indicate how to turn this feature on/off. So what can be wrong? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norge

Re: [JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Jon Haugsand
fields it tests against. Our model is that we can have several entity instances where field A and B are equal, but never during ejbCreate. So we have to test this. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ---

[JBoss-user] Interrupted while requesting permit!

2002-09-24 Thread Jon Haugsand
(LocalHomeProxy.java:110) at $Proxy368.findByVpKriterieIdAndTilstand(Unknown Source) at norgesbank.bank.sil.entiteter.vpkriterie.VpKriterieBean.ejbCreate(VpKriterieBean.java:156) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norge

Re: [JBoss-user] Serious problem with wrong data returned.

2002-09-23 Thread Jon Haugsand
w did you fix it? Did you change the hashCode, equals and toString > XDtEjbPersistent:forAllPersistentFields superclasses attribute to true? Yes, that's it. (But we forgot to include toString) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no>

[JBoss-user] JBoss 3.0.1 and Oracle-XA

2002-09-23 Thread Jon Haugsand
jboss-service.xml It looks like the mbean is registrated, but I get error message that complain with "no ocijdbc8 in java.library.path" I assume no 2 above is not correct. But how should the URL be then? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http:/

Re: [JBoss-user] Serious problem with wrong data returned.

2002-09-23 Thread Jon Haugsand
generate correct equals method for the subclasses. (All primary keys was equal...) Thanks. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:ThinkG

Re: [JBoss-user] Serious problem with wrong data returned.

2002-09-23 Thread Jon Haugsand
= 9 When correct data is: ID: 1, Foretaksnr = 937885911 ID: 2, Foretaksnr = 938335605 Maybe the error is in the Oracle driver? But how do you test such things? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> -

[JBoss-user] Serious problem with wrong data returned.

2002-09-23 Thread Jon Haugsand
We have a serious problem with JBoss 3.0.1 that I guess is not easy to reproduce or else it should have been reported long time ago. I post here so that I can get help to identify where the problem really is. My (BA devoted) collegue thinks it _is_ a problem with JBoss, but if so, it should be co

Re: [JBoss-user] Direct Session Bean to JDBC connection

2002-09-18 Thread Jon Haugsand
ided with jboss version 3.0 does not have XADataSourceLoader. Any > pointers for this ? Have you tried ${JBOSS_HOME}/docs/examples/jca/oracle-xa-service.xml? (I haven't so maybe this is not thre trick...) -- Jon Haugsand, <[EMAIL PROTECTED]> No

[JBoss-user] How to use application specific properties

2002-09-12 Thread Jon Haugsand
ay to do this? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf

Re: [JBoss-user] 3.0.2 error

2002-09-12 Thread Jon Haugsand
how point to a "property editor" whatever it is? Thanks. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:ThinkGeek Welcome to geek

Re: [JBoss-user] 3.0.2 error

2002-09-12 Thread Jon Haugsand
* Jon Haugsand > Well, actually, my solution was even simpler. The JBOSS_DIST (and > JBOSS_HOME) pointed to a 3.0.0beta distro (Why can't bin/run.sh > do a self check?) Actually, I still have a problem. From a plain 3.0.2 on a SuSe 7.2, the following happens: 05:

Re: [JBoss-user] 3.0.2 error

2002-09-10 Thread Jon Haugsand
(and JBOSS_HOME) pointed to a 3.0.0beta distro (Why can't bin/run.sh do a self check?) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- In remembrance www.osdn.com/911/ _

[JBoss-user] 3.0.2 error

2002-09-09 Thread Jon Haugsand
When starting the 3.0.2 distro, JBoss prints out an error message, something like "log4j.properties missing" and then halts. (This is at home som I haven't the excact wording.) However, I cannot find any "log4j.properties" file in neither the 3.0.1 nor the 3.0.2. --

[JBoss-user] XDoclet and dependent value classes

2002-09-09 Thread Jon Haugsand
Has anyone done anything to get dependent value classes by using XDoclet? -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by: OSDN - Tired of that same ol

Re: AW: [JBoss-user] Agent view not working in 3.0.1

2002-09-04 Thread Jon Haugsand
* Kristian Kohler > another nice tool you will find under > > http://mc4j.sourceforge.net > > This is a OpenSource JMX Management Console. > > > http://localhost:8080/jmx-console > > Thanks to both. -- Jon Haugsand, <[EMAIL PROTECTED]> Nor

[JBoss-user] Agent view not working in 3.0.1

2002-09-04 Thread Jon Haugsand
Trying to connect to http://localhost:8082 in an out-of-the-box JBoss 3.0.1, but I only get "Connection refused". This works very nicely in JBoss 3.1.0alpha. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http:/

Re: [JBoss-user] Timestamp, JBoss and Oracle

2002-08-31 Thread Jon Haugsand
* Jon Haugsand > With JBoss 3.0.1, CMP 2.0 and oracle.jdbc.driver.OracleDriver (Oracle DB > 8.1.7) we try to map Timestamp-attributes to Oracle Date. We have no > problems with Timestamp and the Borland server. > > > The error message is as follows: > > 15:00:08,25

[JBoss-user] Timestamp, JBoss and Oracle

2002-08-31 Thread Jon Haugsand
With JBoss 3.0.1, CMP 2.0 and oracle.jdbc.driver.OracleDriver (Oracle DB 8.1.7) we try to map Timestamp-attributes to Oracle Date. We have no problems with Timestamp and the Borland server. The error message is as follows: 15:00:08,254 ERROR [Pant] Could not create entity java.sql.SQLException

Re: [JBoss-user] Serious (for us) error when using MySQL

2002-08-25 Thread Jon Haugsand
tenately I am not able to reproduce the original error. If I do, I'll try to record the circumstances.) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by:

Re: [JBoss-user] Strange select statement

2002-08-20 Thread Jon Haugsand
ang.Thread.run(Thread.java:539) at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:250) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by: OSDN - Tired

Re: [JBoss-user] Strange select statement

2002-08-20 Thread Jon Haugsand
your xdoclet descriptor to default to > "Required". Thanks, this made my day... -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> --- This sf.net email is sponsored by: OSDN - Tired o

Re: [JBoss-user] MySql with Jboss 3.0.1

2002-08-20 Thread Jon Haugsand
s.jca:service=RARDeployer > >  Depends On Me: ] This typically happens during startup where it seems that JBoss reads your bean jar file before it reads the data source definition. Somehow this must be an bug in JBoss who should read all files in server/xx/deploy in alphabetic order or som

Re: [JBoss-user] Strange select statement

2002-08-20 Thread Jon Haugsand
Object o=i.next(); System.out.println("Object is " + o); telefonLocal tf = (telefonLocal) o; System.out.println("Before"); telefonData td=tf.getData(); System.out.println("Got line!"); >From the o

Re: [JBoss-user] Strange select statement

2002-08-20 Thread Jon Haugsand
100 gets created. I do not use any explicite transaction handling. Neither do I set any commit option (as this seems to be unavailable to set from XDoclet). I have included code in another article. -- Jon Haugsand, <[EMAIL PROTECTED]> Norges

[JBoss-user] Strange select statement

2002-08-19 Thread Jon Haugsand
ut(OracleStatement.java:1870) at oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:363) at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:314) -- Jon Haugsand, <[EMAIL PROTECTED]> Norges Bank, <http://www.norges-bank.no> ---

[JBoss-user] ServerException

2002-08-14 Thread Jon Haugsand
K test"); } telefon tf = ff.create(td); public telefon findByLastName(String ln) throws RemoteException { try { telefon tf = ff.findByPrimaryKey(new telefonPK(ln)); return tf; } catch (FinderException e) { return