[JBoss-user] war and ear verifier --help

2002-07-15 Thread Jagan
Hi All, I need to verify a war and ear file programatically. I am able to verify a jar file by just calling: org.jboss.verifier.Main.main(jarFileURL); When i try to use the same for war and ear files it throws an exception reading : no ejb-jar.xml file found. Can someone help me how to

[JBoss-user] CMP 2.0 Optimization

2002-07-15 Thread shreedhar
Hi, I have a one to many relationship between EB's. Say A(1)---(*)B Now B is a maintained as a collection in the Entity Bean A (CMR). A is associated with many B's. Whenever I access a method in A, all the B's associated with A get loaded. Is that correct. If so, how can I optimize this

Re: [JBoss-user] CMP 2.0 Optimization

2002-07-15 Thread Alex Loubyansky
Hello shreedhar, you need to use read-ahead strategy for loading optimizations. That allows to define load-group for CMPs and CMRs and let these groups be loaded 'on-load', 'on-find' and lazy-loaded (by default). It is covered in Dain's JBossCMP docs. alex Monday, July 15, 2002, 9:44:07 AM,

RE: [JBoss-user] You are not getting the semantics you expect warning

2002-07-15 Thread Georg Schmid
Hi, I am using up to three different data sources in the implementation of my SLSB methods (tx=required). Two of them are accessed read-only using direct JDBC calls, the remaining main datasource receives updates and deletes through CMP. All the datasources use the local transaction manager,

Re: [JBoss-user] Updated JBoss 3 Quick Start Guide and new Example

2002-07-15 Thread Holger Baxmann
sorry for being bound to the little inconsitency between cvs jboss-docs module, the website documentation link and thinking at last about sf.net files (8-) bax - Original Message - From: Andreas Kuckartz [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 3:24 AM Subject:

Re: [JBoss-user] ejbCreate() and CMR

2002-07-15 Thread Ionel Gardais
Hi Dain, What are you calling this type of code ? All CMR related stuff ? Dain Sundstrom wrote: JBossCMP does not currently support not-null foreign keys. I also suggest you upgrade to 3.0.1 becaus there is a bug in 3.0 that causes this type of code to not work. -dain

RE: [JBoss-user] IIOP problems with JBoss 3.0.x,

2002-07-15 Thread Maris Orbidans
Can I use properties to refer host name like this: Properties props = new Properties(); props.put(org.omg.CORBA.ORBInitialHost,maris_o); props.put(orb.omg.CORBA.ORBInitialPort,900); // Initialize the ORB ORB orb = ORB.init(args,props); Instead of pasting server IOR to jndi.properties ?

[JBoss-user] Standalone Tomcat 4.0 using JBoss Realm

2002-07-15 Thread Dannemann, Björn
Hi, i am running a standalone Tomcat (because Jetspeed doesn't run on the integrated one). Now, i have a sample app with directories restricted to user 'XY' with the user profile and password stored at the JBoss app server. The integrated Tomcat uses a JBossSecurityMgrRealm class to access

[JBoss-user] Cluster Merge Members

2002-07-15 Thread Jason Stortz
Hey Everyone! When I start my cluster, sometimes it prints out the following message: 1. What does this mean? Is it bad? 08:33:15,586 WARN [DefaultPartition:ReplicantManager] mergeMembers received NULL from lookupLocalReplicants 2. What does this mean as well? 08:35:16,921 INFO

[JBoss-user] Purchased Documentation

2002-07-15 Thread Jason Stortz
How do I know when the documentation is updated? I have a subscription for 6 mo., and I am just curious, THANKS! -Original Message- From: Dannemann, Björn [mailto:[EMAIL PROTECTED]] Sent: Monday, July 15, 2002 7:32 AM To: JBoss (E-Mail) Subject: [JBoss-user] Standalone Tomcat 4.0 using

AW: [JBoss-user] Using Oracle DB on JBOSS 2.2.2

2002-07-15 Thread Thomas Renninger
How can I activate SQL tracing ? I turned on call-logging in the container-configuration but I don't see any additional output. Thanks. Thomas -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Guy Rouillier Gesendet: Montag, 15. Juli

[JBoss-user] JMS SpyMapMessage MessageFormatException

2002-07-15 Thread Ionel Gardais
Hi, This is a JMS question but as a JBoss package appears in the error stack, I hope I can get some help here ... I'm trying to send a Vector through a MapMessage using the setObject() method. Here is how : snip Vector myVector = new Vector(); myVector.addElement(new Integer(0));

[JBoss-user] FW: request for clarification: must resources be stateless?

2002-07-15 Thread Geer, Benjamin
David, here's a clarification from Sun, regarding the question we had about whether a tx manager could use any connection to commit any transaction. (They say it can.) Benjamin -Original Message- From: Ram Jeyaraman [mailto:[EMAIL PROTECTED]] Sent: 13 July 2002 01:04 To: Geer, Benjamin

RE: [JBoss-user] IIOP problems with JBoss 3.0.x,

2002-07-15 Thread Francisco Reverbel
Hi Maris, Unfortunately you can't do this to reach the CosNaming service in JBoss. This restriction is not imposed by JacORB, but by the JNDI CosNaming service provider supplied with Sun's JDK. JDK 1.4 lets you use corbaloc URLs, which are much more human readable:

[JBoss-user] Jboss.net

2002-07-15 Thread conrad
Hi everyone Is it possible to run jboss.net plugin with JBoss 3.0.1RC1? I walked through intructions on http://www.csd.abdn.ac.uk/~bscharla/soap.html and I get such error: 17:09:46,227 ERROR [MainDeployer] could not start deployment: file:/opt/jboss-3.0.1RC1/server/default/deploy/jboss-net.sar

[JBoss-user] Oracle JDBC drivers

2002-07-15 Thread Thomas Renninger
Hello, Question with Oracle JDBC drivers: I realized that JBoss has problems with CLOB's and BLOB's with the 'thin' Oracle JDBC drivers. - Taking oci8 JDBC drivers solved a lot of problems and I got the JBOSS running, creating all the tables and filling them with a lot of data. Now I realized

[JBoss-user] problem in undirectional cmr

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
I'm converting some bidirectional 1-n relationships no unidirectional, once the navigation is not needed from one side, like cities and state. I changed the relationship removing the accessor method in the blind side and changed the ejb-jar.xml (xdoclet did that). It's deployed ok and the

[JBoss-user] how to access framework EJB's

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
I want to put apart from the main project some framework classes and EJB's. The ejb's are related to audicting and are accessed throught local interfaces. Is possible to access an local EJB from other EJB that is not in the same ejb-jar.xml file? I mean, separate system project from the

Re: [JBoss-user] problem in undirectional cmr

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
error in the las email : 1- getting the collection from UF, add the city into the collection and setting the collection back to the UF (setMunicipios). municipio = CadastroEJBGetter.getMunicipioHome().create(); municipio.setNome(Curitiba); municipio.setSigla(CWB); Collection c=

[JBoss-user] problems with finders returning java.util.Set

2002-07-15 Thread Javier A. Soltero
Hi, [using 3.0.1 RC1] I have defined finders in my bean which return java.util.Set. When I try a unit test to verify that the finder works correctly, I get a class cast exception thrown which suggests that the return type of the finder is really an ArrayList instead of something which

Re: [JBoss-user] problem in undirectional cmr

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
I solved it, using the second way: 2 - Adding directly into the collection : municipio= CadastroEJBGetter.getMunicipioHome().create(); municipio.setNome(Curitiba); municipio.setSigla(CWB); uf.getMunicipios().add(municipio); Emerson Cargnin - SICREDI Serviços wrote: error in the

[JBoss-user] ejb-ql doubt...

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
Have anyone had this problem : I need to find some ejb's entities based on a filter that is compound of 3 values : state, city and bank. the ejb-ql coul'd be : select object(p) from Praca p where p.city.oid=$1 and p.state.oid=$2 and p.bank.oid = ?3 but my filter let the user choose 'all' for

Re: [JBoss-user] ejb-ql doubt...

2002-07-15 Thread Dain Sundstrom
I suggest you use DynamicQL which allows you to define and execute JBossQL (EJB-QL) queries at runtime. This is described in the JBossCMP documentation available from FlashLine ($10). -dain Emerson Cargnin - SICREDI Serviços wrote: Have anyone had this problem : I need to find some ejb's

RE: [JBoss-user] problems with finders returning java.util.Set

2002-07-15 Thread Robertson, Jason
A finder method that returns multiple entity objects can only return a java.util.Collection. If you want to guarantee no duplicates are returned, you must use the DISTINCT keyword. A select method, however, can return java.util.Collection or java.util.Set. If you specify java.util.Set then the

RE: [JBoss-user] Cluster Merge Members

2002-07-15 Thread Bill Burke
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Jason Stortz Sent: Monday, July 15, 2002 9:38 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Cluster Merge Members Hey Everyone! When I start my cluster, sometimes it prints out the following

Re: [JBoss-user] ejbCreate() and CMR

2002-07-15 Thread Ryan Marsh
Does this mean if I have a 1:1 CMR relationship that when I create one object, the other is automatically created? On Fri, 2002-07-12 at 13:15, Dain Sundstrom wrote: JBossCMP does not currently support not-null foreign keys. I also suggest you upgrade to 3.0.1 becaus there is a bug in 3.0

Re: [JBoss-user] problems with finders returning java.util.Set

2002-07-15 Thread Javier A. Soltero
Thanks Jason. For some reason this distinction was not clear from my earlier reading of EJB 2.0 features. -javier Robertson, Jason wrote: A finder method that returns multiple entity objects can only return a java.util.Collection. If you want to guarantee no duplicates are returned, you

[JBoss-user] logout of TOMCAT - JBOSS JAAS

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
How do I do the logout when using transparent JAAS between JBOss and embedded Tomcat? If it was from a stand-alone client i woul'd call logout in the login context object, but how do I do it when Tomcat manages the authentication... -- Emerson Cargnin - MSA SICREDI - Tel : 3358-4860

Re: [JBoss-user] ejbCreate() and CMR

2002-07-15 Thread Dain Sundstrom
No. You have to create each bean independently. -dain Ryan Marsh wrote: Does this mean if I have a 1:1 CMR relationship that when I create one object, the other is automatically created? On Fri, 2002-07-12 at 13:15, Dain Sundstrom wrote: JBossCMP does not currently support not-null

RE: [JBoss-user] Cluster Merge Members - Response to Bill

2002-07-15 Thread Jason Stortz
Bill Others, 1. What does this mean? Is it bad? 08:33:15,586 WARN [DefaultPartition:ReplicantManager] mergeMembers received NULL from lookupLocalReplicants If I remember my code correctly. This is just a debug message. You can ignore this. Okay, will do. 3. Anyone know why my

[JBoss-user] security module compile error under jdk 1.4.1

2002-07-15 Thread Matt Munz
Hi all, When trying to compile the source (w2k, jdk 1.4.1-alpha), I get errors like the following. D:\programs\jboss-src\jboss-all\security\src\main\javax\security\auth\login\ LoginContext.java:621: cannot resolve symbol symbol : variable module location: class

[JBoss-user] Logging problem

2002-07-15 Thread bryan hansen
I have been reading the forums, but haven seen an error quite like I am having with Log4j and JBoss/Jetty 3.0.0 I started using log4j with the standard log4j initialization servlet from their sample code, well I got and error that the display was looping and it would just lock up. After a little

[JBoss-user] persistence error

2002-07-15 Thread bryan hansen
I am getting a persistence error that is a little confusing. After the server sits for about 10 minutes of so I get a message saying that: 14:03:22,617 ERROR [Log4jService$ThrowableListenerLoggingAdapter] unhandled throwable java.rmi.ServerException: Could not passivate; nested exception is:

[JBoss-user] JBoss.net deployment stopped by java.lang.LinkageError

2002-07-15 Thread Matt Munz
JBoss.net folks, Could you take a look at the following any help me figure out what's going on? Is there a problem with tt-bytecode.jar? - Matt Setup: w2k, jdk1.4.1, build from latest source. I made a copy of the default configuration and renamed it terminology. I then droped

Re: [JBoss-user] persistence error

2002-07-15 Thread Scott M Stark
See this bug fixed in 3.0.1RC1 http://sourceforge.net/tracker/index.php?func=detailaid=565237group_id=228 66atid=376685 Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: bryan hansen [EMAIL PROTECTED] To:

Re: [JBoss-user] Oracle JDBC drivers

2002-07-15 Thread Javier A. Soltero
Wild guess... You may have updated your Oracle JDBC jar without actually updating the native client code which is used by the non-thin driver. Check that you have versions that match from the stuff that's in your ORACLE_HOME. -javier Thomas Renninger wrote: Hello, Question with Oracle

[JBoss-user] Warning: No warning message found, please file a Bug report.??????

2002-07-15 Thread Steve Buikhuizen
When I deploy my session beans to JBoss 3.0, I get some warnings that look like 2002-07-15 16:32:09,798 INFO [org.jboss.ejb.EJBDeployer] Bean : GenericBooking Section: 12.2.2 Warning: No warning message found, please file a Bug report. My beans function correctly but I'd like to know

[JBoss-user] RMI class loader disabled ERROR

2002-07-15 Thread Emerson Cargnin - SICREDI Serviços
Very weird, a friend of mine just told me she was having a strange error when using ejb-ql, a little later it happened with me, and without ejb-ql, just when doing a look-up it gave me follwing error : javax.naming.CommunicationException. Root exception is java.lang.ClassNotFoundException:

[JBoss-user] SQL Trace of CMP statements - How-to ?

2002-07-15 Thread bobby abraham
Is there an attribute I can set to enable to logging of sql statements as they are executed. It would help in tracking down bad column names, and invalid ejb-ql statements. thank you -- Bobby Abraham Orlando, FL [EMAIL PROTECTED] ---

[JBoss-user] JMS Queues - Number per application/Limitations/best practices...

2002-07-15 Thread Alan Yost
Hello All, Just a quick question (I hope)... We have an application with various components that are moving data from several different input/outputs. We intend to do this with JBOSS 3.0.1 queues. This led several of out team member to ponder - what are the limitations of using Queues - i.e

Re: [JBoss-user] SQL Trace of CMP statements - How-to ?

2002-07-15 Thread Dain Sundstrom
bobby abraham wrote: Is there an attribute I can set to enable to logging of sql statements as they are executed. It would help in tracking down bad column names, and invalid ejb-ql statements. thank you Increase the log level of the org.jboss.ejb.plugins.cmp category to DEBUG in the

Re: [JBoss-user] RMI class loader disabled ERROR

2002-07-15 Thread Guy Rouillier
Do you have jbosssx.jar in your client classpath? - Original Message - From: Emerson Cargnin - SICREDI Serviços [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, July 15, 2002 7:50 PM Subject: [JBoss-user] RMI class loader disabled ERROR Very weird, a friend of mine just told me

Re: [JBoss-user] Oracle JDBC drivers

2002-07-15 Thread Guy Rouillier
If you are using OCI, the jar file must match the version of Oracle you are running. You can't use the Oracle 9i classes.jar for an Oracle 8i oci connection. - Original Message - From: Thomas Renninger [EMAIL PROTECTED] To: JBOSS User-Mailinglist [EMAIL PROTECTED] Sent: Monday, July 15,

[JBoss-user] Oracle DBA CMP Strangeness

2002-07-15 Thread Neal Sanche
Hi All, Today one of our developers found a neat problem with the CMP queries in JBoss 3.0.1RC1 that I thought I'd make mention of in case others run into the same problems. We had created a database for a particular user that was granted DBA privileges. Since the queries for CMP weren't

[JBoss-user] MS Access - JDBC datatypes mapping

2002-07-15 Thread Dimitri PISSARENKO
Hello! Is there a complete and correct table for mapping MS Access to JDBC datatypes in jaws.xml for entity beans with CMP? Thanks Dimitri Pissarenko --- This sf.net email is sponsored by: Jabber - The world's fastest growing real-time