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
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
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,
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,
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:
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
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 ?
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
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
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
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
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));
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
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:
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
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
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
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
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=
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
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
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
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
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
-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
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
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
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
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
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
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
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
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.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
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:
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
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
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:
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]
---
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
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
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
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,
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
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
45 matches
Mail list logo