Re: [jBoss-Dev] JNDI and Connection Pool

2001-02-13 Thread Aaron Mulder
The database connection pooling in JBoss uses object pool classes in the Minerva package to pool the connections. You could use these same pooling classes to pool LDAP connections or messages or anything else. The classes are in jboss/src/lib/minerva-1.0b3.jar and the source code is in jb

Re: [jBoss-User] javax.transaction.xa.XAException witherrorCode=XAER_NOTA

2001-02-04 Thread Aaron Mulder
Search your configuration files for instances of "org.jboss.minerva" and update the package names. In particular, the XADataSource wrapper class has changed from: org.jboss.minerva.xa.XADataSourceImpl to org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl Shortly yo

Re: [jBoss-User] OracleXADataSource or XADataSourceImpl withOracle8.1.7 ????

2001-02-04 Thread Aaron Mulder
On Sun, 4 Feb 2001, Ole Husgaard wrote: > > Result: > > --- > > I try both and it runs both for BMP. > > > > So what config does i have to use > > I would recommend the first one. Agreed. The Minerva "wrappers" are only for cases where no native XADataSource implementation is ava

[jBoss-Dev] Updated Minerva

2001-02-02 Thread Aaron Mulder
Note to everyone building from CVS: You should either "build clean" after you checkout this update, or manually remove the file jboss/dist/lib/ext/minerva-1_0b2.jar so you only end up with the newer Minerva JAR in your dist directory. The updated Connector implementation passes tes

RE: [jBoss-User] Transaction Errors with jBoss and Castor

2001-02-02 Thread Aaron Mulder
This looks like a configuration problem. If you look at the stack trace, there are classes from org.jboss.minerva.* and classes from org.opentools.minerva.*. They should all be from org.opentools.minerva.* (the new one). I'm not too familiar with the Castor configuration, but I suspect

RE: [jBoss-User] Protection from System.exit(0);

2000-12-08 Thread Aaron Mulder
Ewww! Recompiling JVM classes? Let's not go there! How about using a security manager instead. Aaron On Fri, 8 Dec 2000, Rhett Guthrie wrote: > not sure if this will work, but you could modify java.lang.System.java > rebuild java.* packages from the src.jar that comes with the JDK. re

Re: [jBoss-User] Question about EntityBean finders

2000-12-08 Thread Aaron Mulder
Not all Collections are LinkedLists - ArrayLists are perfectly valid Collections, as are HashSets, Vectors, etc. So your line of code should not be expected to work. Try something like this instead: Collection keys = home.findByKeyword("PREPARE"); - or - LinkedList keys = new LinkedLi

Re: [jBoss-User] Implementing an entity bean to access an Oraclesequence

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Peter Schauss wrote: > Is it possible to access an Oracle sequence with an entity > bean using CMP or must I use BMP? > > If anyone has done this, can you post some sample code? There have been several extensive discussions about this on the mailing list. I'll repeat

RE: [jBoss-User] Problem with Oracle Connection Pool in BMP entit y bean

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Jay Walters wrote: > you need oracle.jdbc.driver.OracleDriver in jboss.drivers and > uncomment > #jboss.xa.xidclass=oracle.jdbc.xa.OracleXid > > in the jboss.properties file Actually, you don't need the Oracle driver in the JDBC driver list, since that's only the JDBC

Re: [jBoss-User] CMP

2000-12-08 Thread Aaron Mulder
On Thu, 7 Dec 2000, Scot Bellamy wrote: > 1. If used extensively in a large scale system, this can lead to a very > inefficient object design (too fine-grained). This will almost always > result in a system that performs poorly and does not scale well. However, if you're aware of this (

RE: [jBoss-User] Table name mapping

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Peter Schauss wrote: > Does my jaws.xml file go into the META-INF directory? Yes. > Do I have to copy the complete standardjaws.xml to that directory > and do my customizations No. > or can I just specify the stuff where I > want to override the default settings? Yes.

Re: [jBoss-User] Table name mapping

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Peter Schauss wrote: > Is there a field in the ejb-jar.xml file which controls > the name of the database table corresponding to an entity bean > or are we stuck with the default (table name = ? It's in jaws.xml not ejb-jar.xml - the setting is specific to jBoss/JAWS.

Re: AW: AW: [jBoss-User] Shared classes

2000-12-08 Thread Aaron Mulder
The "m" argument to the "jar" command tells it to use a custom manifest instead of auto-generating a new one. If you use it with the "f" command, you have to put the manifest file and jar file parameters in the order that the "m" and "f" appear, I think: jar -cfm foo.jar META-INF/MANIFES

RE: [jBoss-User] Problem with Oracle Connection Pool in BMP entity bean

2000-12-08 Thread Aaron Mulder
NUMBER > > > java.lang.Boolean > BIT > NUMBER > > > java.lang.Float > FLOAT > NUMBER > &g

RE: [jBoss-User] Links to Corba objects

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Bernard Olivier wrote: > I'd like to know if I can use Corba objects or call them with Jboss. > > In fact I tried to find the stub and skeleton files of my ejbs after their > deployement on Jboss, and I couldn't find them. So I was wondering about > the impossibility to make m

Re: [jBoss-User] Applet Client

2000-12-08 Thread Aaron Mulder
Unfortunately, the only way to run this code is to sign your JAR. (Well, I haven't really investigated the options with Netscape 6, but that was certainly the case with Netscape 4 and IE 3-5). In order to sign your JAR, you need to have a certificate. Since JBoss doesn't support Java 1.1

RE: [jBoss-User] CMP deployment Section: 9.4.7.1

2000-12-08 Thread Aaron Mulder
On Fri, 8 Dec 2000, Maddison, David wrote: > jBoss will then use the hashCode (hence the need to implement the hasCode() > method), as the primary key, and will create a database column to hold it. > > When you call findByPrimaryKey and pass in the PersonPK, jBoss will call the > hashCode method a

Re: [jBoss-User] Problem with Oracle Connection Pool in BMPentity bean

2000-12-07 Thread Aaron Mulder
This stack trace is caused by an uncaught exception within Oracle, which is pretty frightening. It looks like you're using the native Oracle XA implementation. Are you sure you're using the Oracle Xid as well (setting in jboss.properties)? What version of Oracle and the JDBC drivers are

Re: [jBoss-User] 2PC in JDBC drivers

2000-12-07 Thread Aaron Mulder
On Thu, 7 Dec 2000, Rhett Guthrie wrote: > I noticed that Minerva's XAResource impl for JDBC drivers is doing 1PC > because most drivers are not yet 2.0SE compliant/stable. Does anyone > have a guess as to when the driver market will mature to the SE spec? It > seems a real shame that we still don

Re: [jBoss-User] JMX Bug ?

2000-12-07 Thread Aaron Mulder
The message means that we noticed a bug and worked around it. So there is a bug, but it should not affect you. Now, Rickard has said a forthcoming patch means we won't even encounter the bug any more, but if for some reason we did, you can be comfortable that we notice and work around it

Re: [jBoss-User] jboss and oracle 8iLite 4.x

2000-12-07 Thread Aaron Mulder
Well, generally errors in the VM are not considered to be the fault of jBoss or JDBC drivers. However, if your JDBC driver is a Type 2 driver (requires native libraries) then it may in fact be causing the problem. In any case, you should be able to disable hotspot (by omitting the -serve

Re: [jBoss-User] [jBoss-User]StatelessBean with BMT (maybe bug)

2000-12-07 Thread Aaron Mulder
If you don't use a vendor's native XADataSource implementation, and you ask for two DB connections within the same transaction, you really get the same one twice. So, for example, if you insert a row on one connection you can see it on the other, since they're supposed to be occuring with

Re: [jBoss-User] PetStore Security Adapter?

2000-12-07 Thread Aaron Mulder
To my knowledge, no one has implemented a security adapter for jBoss and the pet store. It should be possible to create DB realms for Tomcat and jBoss that use the same table, and then create a security adapter that updates that table. Aaron On Tue, 5 Dec 2000, Madhu Narasa wrote: > Aft

Re: [jBoss-User] Yet another CMP Finder question

2000-12-07 Thread Aaron Mulder
It doesn't look like a SQL problem per se - it gets a ClassCastException on an ArrayList. Huh? Did you perhaps declare the finder to return an Enumeration but we're returning a Collection, or something? Aaron On Tue, 5 Dec 2000, Tim Squires wrote: > Just making sure before I write load

Re: [jBoss-User] minerva.jar

2000-12-03 Thread Aaron Mulder
You don't need that file - minerva is included with jBoss now. Aaron On Sun, 3 Dec 2000, Martin Lilienthal wrote: > Hi, > > i can`t find the minerva.jar file. I`ve searched on the JBoss homepage for > it, but I cant find it... > > >From where can I download it? > > > regards > > > Martin

RE: [jBoss-User] Petstore for jboss.

2000-12-02 Thread Aaron Mulder
When I did the original petstore conversion, I just moved the data access to EJBs (see http://www.jboss.org/manual/examples.html#petstore4) instead of JSPs. Aaron On Fri, 1 Dec 2000, Richard Gyger wrote: > Have you actually gotten the demo working? I'm having problems in the jsps > where

Re: [jBoss-User] Problem with finding jdbc pool from jndi

2000-12-02 Thread Aaron Mulder
On Sat, 2 Dec 2000, alap wrote: > i will try this out again i think i have followed more or less the same > procedure. but can u tell me if i want to access the datasource from a > simple java application can i do that. i should be able to get it from the > same jndi context shouldnt i be able to

Re: [jBoss-User] Re: Entities, Transactions & Commits (Oh my...HELP!)

2000-12-01 Thread Aaron Mulder
I assume you mean that no record was inserted, not that a record with the field 'never' was inserted. Supports means that if there is no transaction when the bean is called, then no transaction will be used. If there is a transaction when the bean is called, then that transaction

RE: [jBoss-User] NullPointerException during startup

2000-12-01 Thread Aaron Mulder
ration section of the manual: > > jboss.conf: > > CODEBASE="../../lib/ext/"> > > VALUE="org.jboss.minerva.xa.XADataSourceImpl"> > > > I still get the same NullPointerException. > > Also, something keeps wiping out my changes to jboss.jc

RE: [jBoss-User] EntityBean sharing table with other non EJB apps

2000-12-01 Thread Aaron Mulder
On Fri, 1 Dec 2000, Jason Dillon wrote: > What is '[whatever]'? "Something ought to go here but off the top of my head I'm not sure what the best descriptive phrase would be" Aaron -- -- To subscribe:[EMAIL PROTECTED] To unsu

RE: [jBoss-User] jboss.conf & XML comments

2000-12-01 Thread Aaron Mulder
Because it is read by a class in the JMX RI which we have no control over, and that class does not use a standard XML parser. The result is as you've noted: it looks like an XML file, but a lot of things (like comments) don't work as they should for XML. I would certainly hope they switc

RE: [jBoss-User] Which one to read? prelim manual or howtos

2000-12-01 Thread Aaron Mulder
On Fri, 1 Dec 2000, marc fleury wrote: > Aaron, > > I am looking for a commitment to do the manual :) > > hanging efforts are bad... I would rather have a small series of howtos. > are we clear? I can't afford another "unfinished" good meaning effort Well, which would you prefer? A manua

Re: [jBoss-User] Lookup of DefaultDS fails

2000-12-01 Thread Aaron Mulder
On Fri, 1 Dec 2000 [EMAIL PROTECTED] wrote: > I find this a little confusing...can you provide an example JSP and > web.xml that shows how I should do this? Or would I be better off > writing a data access bean (not ejb bean) to handle the connection via > JNDI? Let me rephrase: As far a

Re: [jBoss-User] Redeployment of bean does not updateenv-entryvalues

2000-12-01 Thread Aaron Mulder
On Fri, 1 Dec 2000, Rickard Öberg wrote: > Hm.. I haven't seen this one before. It should not be related to the JAR > handlers, since we now copy the JARs all the time. > > If the old file is in classpath that could explain it. Otherwise I don't > know really. BugZilla it. > > /Rickard I

Re: [jBoss-User] NullPointerException during startup

2000-12-01 Thread Aaron Mulder
Ignore the HOWTO - it is out of date. Try the pool configuration directions in the manual instead. Please guys (Marc + Sebastien), I removed the link to this once already, and it was restored with the new web site. Please either fix the HOWTO or remove the link again. This is ri

Re: [jBoss-User] Newbie Question

2000-12-01 Thread Aaron Mulder
Be very careful using MySQL, as until very recently it didn't support transactions and it still is not a very appropriate DB for EJBs. Try Interbase or PostgreSQL as alternative open-source DB products. However, that said, there's a MySQL configuration example in the manual (under Advanced

Re: [jBoss-User] Lookup of DefaultDS fails

2000-12-01 Thread Aaron Mulder
AFAIK, JSPs cannpot yet access DB pools. I think this is because of the ClassLoader situation. Can anyone who has worked on the embedded Tomcat integration comment on whether this is supposed to work yet? In any case, you shouldn't try to access the java:/DefaultDS directly. As

Re: [jBoss-User] jboss.jcml getting corrupted!

2000-12-01 Thread Aaron Mulder
On Thu, 30 Nov 2000, Rickard Öberg wrote: > The motivation for writing the jcml file has been discussed a number of > times (see archives), and will not be changed. What will be changed is > the buggy behaviour by some of the MBeans that makes the file corrupted. > > /Rickard Well... I ha

Re: [jBoss-User] JDBC connect to Hypersonic

2000-12-01 Thread Aaron Mulder
As someone else pointed out, the settings are in jboss.jcml. However, you should not be using the code below in EJBs (look up a DataSource in JNDI instead). But perhaps you're just writing another app to access the same DB (in which case be sure to use the right "Commit Option" when you c

RE: [jBoss-User] Minerva Data Pool Resource Rolling Back Transact ion

2000-12-01 Thread Aaron Mulder
Well, just to clear the airwaves - all database connections are transactional. It's just a question of whether the actions are commited one at a time or several at a time... :) Truly, I think you'd be better off assigning methods the transaction attribute "required" rather than setting a

Re: [jBoss-User] Redeployment of bean does not update env-entryvalues

2000-12-01 Thread Aaron Mulder
No, this is not the desired behavior. I believe this is related to the bugs Rickard was complaining about in the JAR URL handlers in the JDK. The redeployment behavior was supposed to be fixed for the final release. Rickard, is this indeed one of the things on your plate? If not, it sh

Re: [jBoss-User] DB Connection Lost If Not Using Minerva --Config?

2000-12-01 Thread Aaron Mulder
As I explained in another thread, it is my understanding that you should be able to use 2 different Oracle XA connections cooperatively under the same transaction - with the XA extensions, the connection is just the pipe you use to talk to the back end, and the back end should coordinate a

RE: [jBoss-User] Which one to read? prelim manual or howtos

2000-12-01 Thread Aaron Mulder
n Tue, 28 Nov 2000, marc fleury wrote: > the manual was an effort started by Aaron Mulder, > > aaron what is the status on the manual effort? > > marc > > > |-Original Message- > |From: [EMAIL PROTECTED] > |[mailto:[EMAIL PROTECTED]]On Behalf Of Jerson Chua &g

Re: [jBoss-User] Minerva Data Pool Resource Rolling BackTransaction

2000-12-01 Thread Aaron Mulder
As you note in a later message, if you use the XADataSourceLoader it assumes a transaction environment - that is, any changes not executed with the scope of a transaction are rolled back. We have not provided an example for JDBCDataSourceLoader because transaction handling is a major feat

Re: [jBoss-User] jBoss Final 2.0 & XA-enabled JDBC driver

2000-12-01 Thread Aaron Mulder
There is some kind of error when we try to configure the driver. We typically call things like setURL (via reflection), but unfortunately the XADataSource spec does not define how you should identify the database that you want to use, so every vendor can do it differently. Can you post th

RE: [jBoss-User] EntityBean sharing table with other non EJB apps

2000-12-01 Thread Aaron Mulder
WRT the later suggestion of 5 entries: can't we just use the 2 standard entries with hints in the selection box, like: "A - DB used only by jBoss" "B - [whatever]" "C - DB used by legacy apps too" Aaron On Thu, 23 Nov 2000, marc fleury wrote: > |marc fleury wrote: > |> I believe that a

RE: [jBoss-User] Error Deploying Petstore.ear

2000-12-01 Thread Aaron Mulder
I haven't checked PetStore 1.1.1 but as of 1.0 the changes were not small. I'll take another look when I get a chance. Also, I'm behind the .tgz and I'll try to put a .zip together, but I guess I'll just wait to do it for 1.1.1. Aaron On Fri, 24 Nov 2000, Neville Burnell wrote: > Hi Gu

Re: [jBoss-User] jboss.dtd a few errors

2000-12-01 Thread Aaron Mulder
WEB SITE MAINTAINERS: please remove /jboss.dtd and /jaws.dtd from the site (since someone has apparently moved them to /documentation) and sync the /documentation directory of "newsite" which has the correct DTDs. In fact, I thought you synced the whole site the other day so I'm a little c

Re: [jBoss-User] Complex Finders

2000-12-01 Thread Aaron Mulder
As it was originally explained to me, this was implemented as described but it is an "extension" - the spec doesn't allow it. However, I haven't tried it myself any time recently. Rickard, are you sure it doesn't work that way? If so, then we can just drop that from the manual. Aaron

Re: AW: [jBoss-User] problems moving to FINAL

2000-11-15 Thread Aaron Mulder
} > catch (SQLException e) { >try { > dbConnection.close(); > } >catch (Exception ignored) { } >System.err.println("Error opening database connection"); >

RE: [jBoss-User] Minerva Question

2000-11-15 Thread Aaron Mulder
in] at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) > [Pin] at sun.rmi.transport.Transport$1.run(Unknown Source) > [Pin] at java.security.AccessController.doPrivileged(Native Method) > [Pin] at sun.rmi.transport.Transport.serviceCall(Unknown Source) >

Re: [jBoss-User] Exception on connection close

2000-11-15 Thread Aaron Mulder
Try closing the PS before the Connection - the PS is really a "child" of the Connection... Aaron On Wed, 15 Nov 2000, Jon Finanger wrote: > Hi! > Just to make you aware of this (i'dont really know if its a bug or a > misunderstanding from me) i get an exception if i try to close a connec

RE: [jBoss-User] Minerva Question

2000-11-15 Thread Aaron Mulder
Okay, so far, so good. All the pools loaded successfully. Can you now include the code you're using to open connections which is failing, and the exception stack trace that is generated? Also, I really thought WebLogic supported JNDI DataSources. Is that not true? Aaron On Wed, 15 No

Re: [jBoss-User] problems moving to FINAL

2000-11-15 Thread Aaron Mulder
Can you send the source code for the bean where you try to get the connection? Aaron On Wed, 15 Nov 2000, Benjamin Kunz wrote: > hi, > > everything worked fine in BETA-PROD03 so i guess i missed something > simple... i established a DS, but cant get it from the JNDI, and the JNDI > brows

Re: [jBoss-User] jboss-petstore.tgz corrupt

2000-11-15 Thread Aaron Mulder
Hmm... Does CVS know that ".tgz" is binary? Aaron On Wed, 15 Nov 2000, Matt Bauer wrote: > I just tried to download the jboss-petstore.tgz file and could not open > it. I tried with different browsers and wget, all failed. I think the > file is corrupt. The url I tried was > http://ww

Re: [jBoss-User] Minerva JDBCPoolDataSource

2000-11-15 Thread Aaron Mulder
extManager.service (ContextManager.java:745) > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection > (HttpConnectionHandler.java:210) > org.apache.tomcat.service.TcpWorkerThread.runIt (PoolTcpEndpoint.java:407) > org.apache.tomcat.util.ThreadPool$ControlRunnable.run (ThreadPool.j

RE: [jBoss-User] dependencies

2000-11-14 Thread Aaron Mulder
ean registrationDone) > { > } > public void preDeregister() > throws java.lang.Exception > { > } > public void postDeregister() > { > } >

Re: [jBoss-User] dependencies

2000-11-14 Thread Aaron Mulder
Here's an existing entry: You need to update the service name and dependency service name. The first service name is your service, the dependency service name is the SpyderMQ service name. As for the "required" parameter: - If "true" then your service will not start

RE: [jBoss-User] Minerva Question

2000-11-14 Thread Aaron Mulder
.datasource.PoolDriver and my own vendor's jar > file are not accessible to the driver manager as called upon by the EJB. > > Wes > > -Original Message- > From: Aaron Mulder [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, November 14, 2000 1:29 PM > To: jBoss > Subjec

RE: [jBoss-User] Minerva Question

2000-11-14 Thread Aaron Mulder
Perhaps you could provide your complete jboss.conf, jboss.jcml, and jboss.properties files. The PoolDriver is loaded in the constructor for XAPoolDataSource, so I'm inclined to believe that you do not have an XAPoolDataSource configured correctly. Aaron On Mon, 13 Nov 2000, Wes Mckean w

Re: [jBoss-User] who knows the IBM DB2 (6.1) type mapping?

2000-11-14 Thread Aaron Mulder
I haven't tried with 6.1, only 7.1. The mapping is in jboss/conf/default/standardjaws.xml (under "DB2"). You could also look at it in CVS on the web under jboss/src/etc/conf/default/standardjaws.xml Aaron On Tue, 14 Nov 2000, S.T Lin wrote: > hi ! > I am using IBM DB2 6.1 as my EJB dat

Re: [jBoss-User] javax.management.ReflectionException

2000-11-14 Thread Aaron Mulder
It looks like one of the entries in your jboss.conf is bad. Can you narrow it down to one (by commenting out the ones you've added or modified, etc.)? Aaron On Mon, 13 Nov 2000, S.T Lin wrote: > when i start jboss, here is an error message: > > [Console logging] Logging started > [Info]

Re: [jBoss-User] Minerva JDBCPoolDataSource

2000-11-14 Thread Aaron Mulder
Use the source, Luke! I know Marc and Rickard made some changes so that Minerva would use the jBoss logger - perhaps this is causing the problem as it may generate exceptions if run outside? Anyway, what I suggest you do is put a Thread.currentThread().dumpStack() in org.j

Re: [jBoss-User] javax.management.ReflectionException when jbossStart

2000-11-14 Thread Aaron Mulder
Why did that Howto come back? It is just plain wrong. Follow the examples in the manual instead, and let's drop that Howto from the page. Aaron On Tue, 14 Nov 2000, Gianluca Mameli wrote: > Hi! > > I installed jboss in my PC (windows nt 4.0) dowloding the > jBoss-2.0_BETA_PROD_04.zip a

Re: [jBoss-User] Container initialization

2000-11-12 Thread Aaron Mulder
On Sun, 12 Nov 2000, Rickard Oberg wrote: > See my response to Lars Hoss re: RMI server. Same approach, and yes it is > portable. Out of curiosity, which other J2EE servers natively support running JMX MBeans at startup? Aaron -- ---

Re: [jBoss-User] Error Creating Tables

2000-11-11 Thread Aaron Mulder
That is true - DDL isn't allowed when you use the Oracle XADataSource. You can't have JAWS create your tables, you have to do it manually. This is a limitation of Oracle (you can't rollback a table create, even in SQL Plus). Aaron On Sat, 11 Nov 2000, Aakash Chopra wrote: > Hi all, >

Re: [jBoss-User] Interesting Sybase Error

2000-11-09 Thread Aaron Mulder
This is pretty bizarre. We call setAutoCommit(false) on a connection, and the Sybase JDBC driver converts that to a PreparedStatement, which it then tries to run and fails to process corrrectly? Are you sure the jConnect script you ran was totally successfull? Are there issues w

Re: [jBoss-User] new jaws type-mapping for mySQL

2000-11-09 Thread Aaron Mulder
seful information I suggest to include a tag > into jaws.xml. Can I just include it or does the DTD have to altered ? > > Thanks, > Tobias > > > Aaron Mulder wrote: > > > > Please note that you must use extreme caution with mySQL: it did > > not su

Re: [jBoss-User] Informix JDBC connection

2000-11-09 Thread Aaron Mulder
The first exception indicates that jBoss was unable to turn off auto-commit on the Connection it created. We need to turn off auto-commit for the transactions to work properly. The SQLException you get from Informix is not very informative. Do you know why the Informix driver would refu

Re: [jBoss-User] Default XADatasource Question

2000-11-09 Thread Aaron Mulder
You sometimes get this when a service fails to start and another service depends on it. Can you provide your entire startup output? Aaron On Thu, 9 Nov 2000, Dubchak, John wrote: > Hi, > > I am still working on getting BETA-PROD4 working on my machine. I have > successfully configured

Re: [jBoss-User] new jaws type-mapping for mySQL

2000-11-09 Thread Aaron Mulder
Please note that you must use extreme caution with mySQL: it did not support transactions until very recently (v 3.23.6?), and even now you must install an add-on product and specifically indicate that *each table* should be transaction-safe when you create it. Since the default table typ

Re: [jBoss-User] Circular dependencies!

2000-11-08 Thread Aaron Mulder
Can you post your jboss.conf, jboss.jcml, and jboss.dependencies files? It sometimes misreports this when another service fails to start. Aaron On Wed, 8 Nov 2000, Darius Davidavicius wrote: > HI all, > I do trying to start jBoss 2.0 BETA-PROD-03 (size:4154293) and i do getting >java.l

RE: [jBoss-User] CLOB field in CMP entity

2000-11-08 Thread Aaron Mulder
; From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of Aaron Mulder > Sent: Monday, November 06, 2000 7:07 PM > To: jBoss > Subject: Re: [jBoss-User] CLOB field in CMP entity > > > We had never tried CLOBs before. I just checked a change in to > CVS that sh

Re: [jBoss-User] JAWS not activated.

2000-11-07 Thread Aaron Mulder
Did you set the persistence type to "Container" for the entity bean in your ejb-jar.xml? Aaron On Tue, 7 Nov 2000, Winston Ng wrote: > Following the document on creating a CMP bean, I coded an entity bean, wrote > up jaws.xml to map the fields to a table in my Oracle database, packaged t

Re: [jBoss-User] weblogic, oci, jDriver, ORA-24327(needexplicitattach...)

2000-11-07 Thread Aaron Mulder
On Tue, 7 Nov 2000, Krishna Kumar wrote: > Aaron, > I hv had problems with BLOB columns in Oracle 815 on solaris with the type 4 > drivers, u seem to mention oracle 816, oracle 817 so maybe this one doesn't > occur on those versions.. I'd try the newest (8.1.7, last I checked) JDBC drive

Re: [jBoss-Dev] Namespace usage updated

2000-11-07 Thread Aaron Mulder
On Tue, 7 Nov 2000, Rickard [iso-8859-1] Öberg wrote: > ***NOTE that this will affect JAWS and jboss.xml resource mappings. > Update your connection pool mappings to be prefixed with "java:/" *** Do you think we might want to automatically include the prefix when we read jboss.xml and jaw

RE: [jBoss-User] FW: Datasource

2000-11-06 Thread Aaron Mulder
nce for datasources > |fixes, so folks go directly to the manual, which has the correct stuff. > | > |Andrew > | > | > |-Original Message- > |From: Aaron Mulder [mailto:[EMAIL PROTECTED]] > |Sent: Monday, November 06, 2000 11:40 AM > |To: jBoss > |Subject: Re: [

RE: [jBoss-User] FW: Datasource

2000-11-06 Thread Aaron Mulder
The FAQ has been updated in CVS to point to the manual instead. Thanks for pointing it out. Aaron On Mon, 6 Nov 2000, Nortje, Andrew wrote: > Thanks for the help - we got our Entity bean working. > > Just a note for the folks at jBoss, my 2c worth. I think some of the > documentation

Re: [jBoss-User] CLOB field in CMP entity

2000-11-06 Thread Aaron Mulder
We had never tried CLOBs before. I just checked a change in to CVS that should enable you to read a CLOB if you're looking for a String. So make the variable a String, and see if JAWS can read it. You may want to try once without any specific entry in jaws.xml for the field (it should b

Re: [jBoss-User] Tomcat and getSession

2000-11-06 Thread Aaron Mulder
You may have better luck for this on the Tomcat list. However, I do recall overseeing some discussion about using SecureRandom under certain circumstances (SSL?) and that caused a significant startup delay. I'm not sure if that's what you're seeing. Aaron On Mon, 6 Nov 2000, Michael G.

Re: [jBoss-User] weblogic, oci, jDriver, ORA-24327 (needexplicitattach...)

2000-11-06 Thread Aaron Mulder
On Tue, 7 Nov 2000, Krishna Kumar wrote: > Hi Georgi, > wonder if u had u'r problem fixed here is some additional info > > 1) Type 3/4 drivers is a good choice but they don't support long-raw and > blob columns...particularly if u are running them on a unice!!! Not true - I tested

Re: [jBoss-User] FW: Datasource

2000-11-06 Thread Aaron Mulder
Your jboss.conf syntax is not correct. Please refer to the examples in the manual. The exception you are getting is caused by your incorrect syntax, and as you will see in the manual, you *do* need an entry in jboss.jcml. Aaron On Sun, 5 Nov 2000, Nortje, Andrew wrote: > Good Day JBoss

Re: [jBoss-User] A concerned user regarding licensing...

2000-11-06 Thread Aaron Mulder
Well, we're all just interpreting here, but for the record, this is just my interpretation, assuming jBoss switches to LGPL: On Mon, 6 Nov 2000, Peter Henderson wrote: > I have read the long discussion on licencing, and I thought I would > describe how I would like to use jBoss etc. > >

Re: [jBoss-User] weblogic, oci, jDriver, ORA-24327 (need explicitattach...)

2000-11-06 Thread Aaron Mulder
It looks like the driver you're using is a Type 2 driver, so you need to get the native libraries configured properly. Frankly, I've never tried this with an all-Java server - but it may work if they're on your PATH or something. I suspect the easier solution would be for you to u

Re: [jBoss-User] Hypersonic

2000-11-06 Thread Aaron Mulder
In the pet store, Sun included some code to look at the DB name reported by the JDBC driver and make decisions based on that. It's primitive, but probably better than nothing... Aaron On Fri, 3 Nov 2000, Rickard [iso-8859-1] Öberg wrote: > There is one little glitch with it. I can do it

Re: [jBoss-User] Server start/stop scripts

2000-11-02 Thread Aaron Mulder
It's on the list of things to do for the final release. No one has stepped up to the plate yet, though, so help would be welcome. Aaron On Thu, 2 Nov 2000, Scot Bellamy wrote: > I have played a little with starting jBoss as a detached process on > Linux by doing ./run.sh &. This seems

Re: [jBoss-User] Pointbase datasources

2000-11-01 Thread Aaron Mulder
You should use a more recent build, and with the more recent builds, you will need to use a different syntax to set up your data sources. There are directions and examples in the manual, and in the Howtos on the web page. (DataSourceImpl has been replaced with XADataSourceLoader). Aaron

Re: [jBoss-User] Verifier question

2000-11-01 Thread Aaron Mulder
Well, jBoss doesn't really care about this error, since it doesn't use IIOP, but interoperability with CORBA may suffer... :) There was an earlier bug where this got flagged incorrectly when your class had a static String variable, but it looks like you may have a later version than that.

Re: [jBoss-User] datasource problem

2000-11-01 Thread Aaron Mulder
The class "DataSourceImpl" does not exist any more. Look at the manual or Howtos on the web page to see how to configure a data source. Aaron On Wed, 1 Nov 2000, Tyson Norris wrote: > I'm attempting to use com.inet.tds.TdsDriver (from inet software's Opta) > to connect to MS SQL Serv

Re: [jBoss-User] Serializing a Vector

2000-11-01 Thread Aaron Mulder
Okay, can you DESCRIBE the table in Oracle, and pass along the definition? Also, can you say whether you are using the standard JAWS mappings or a customized one, and if customized, can you include the Oracle section you are using? Thanks, Aaron On Wed, 1 Nov 2000, Ingo Bruell w

Re: [jBoss-User] Serializing a Vector

2000-11-01 Thread Aaron Mulder
Okay, so it doesn't actually happen when we try to write a value to the DB, but when we try to write a NULL to the DB. Can you put in a println or something (JDBCCommand.java:275) and just output the column name and JDBC type that it's setting for the PreparedStatement so we're sure of ex

Re: [jBoss-User] Sharing object instances

2000-11-01 Thread Aaron Mulder
There is still active work underway on the Tomcat/jBoss integration. It will probably be updated in the next binary. However, the easiest thing for you to do right now is to run Tomcat and jBoss completely separately, and get that working. When the updated integration package becomes av

Re: [jBoss-User] javax.naming.CommunicationException

2000-11-01 Thread Aaron Mulder
Does your client have the "jboss-client.jar" file in its classpath? If not, you need to create a security manager so the clss can be dynamically loaded from the server. Aaron On Tue, 31 Oct 2000, Pedro wrote: > when i run InterestClient get the exception : > > Got context > javax.namin

Re: [jBoss-User] Serializing a Vector

2000-11-01 Thread Aaron Mulder
On Wed, 1 Nov 2000, Ingo Bruell wrote: > I have tried both BLOB and RAW LONG, but I always get an invalid columntype > exception from Oracle as JDBC Type I have used JAVA_OBJECT and BLOB. Do you get the error when it goes to create the table, or when it tries to read from it or write to i

Re: [jBoss-User] Problem with simple Oracle configuration

2000-11-01 Thread Aaron Mulder
Take out the jboss.conf entry for "DataSourceImpl" - that is no longer supported. In fact, it is no longer distributed with the recent builds, and since you didn't get a ClassNotFoundException, I suspect you do not have a recent build, so grab the latest from the web site while you're at

Re: [jBoss-User] JBoss accessing Objects in PostgreSQL tables

2000-11-01 Thread Aaron Mulder
The new default mapping uses columns of SQL type "OID" to store Java objects, and that has been tested successfully with PostgreSQL 7.02 (with JDBC type JAVA_OBJECT). Aaron On Tue, 31 Oct 2000, Marco wrote: > I have this exception trying to access Object stored in a PostgreSQL table fiel

Re: [jBoss-User] Strange functionality

2000-10-31 Thread Aaron Mulder
Time for a validating parser? Aaron On Tue, 31 Oct 2000, Rickard [iso-8859-1] Öberg wrote: > Hang on, that is wrong. It should be "enterprise-beans", with an "s". > > /Rickard > > -- -- To subscribe:[EMAIL PROTECTE

Re: [jBoss-User] Serializing a Vector

2000-10-31 Thread Aaron Mulder
Look in standardjaws.xml. I haven't tried on Oracle 8 (8.0.x) just Oracle 8i (8.1.5+), so I can't tell you for sure whether to use the Oracle7 mapping or Oracle8 mapping. But I suspect the Oracle8 one, which maps objects to BLOB. If you don't have data type BLOB, use LONG RAW (but you c

Re: [jBoss-User] DataSource Class

2000-10-30 Thread Aaron Mulder
It's in jdbc2_0-stdext.jar (generally in lib/ext, but also available independently from Sun as the JDBC 2 Optional Package). Aaron On Mon, 30 Oct 2000, Sergio Stateri Jr wrote: > Hi, I find this sample from Jboss web site : > > Context ctx = new InitialContext(); > C

Re: [jBoss-User] J2eeDeployer broken

2000-10-30 Thread Aaron Mulder
On Mon, 30 Oct 2000, Daniel Schulze wrote: > Its not the J2eeDeployer, its the ContainerFactory. The config stuff is > currently a little messy, I got it working on my installation somehow > (standardjboss.xml, standardjaws.xml, jndi.properties in conf directory > the other stuff in the conf/bla d

  1   2   3   4   >