Hello,
Thank you for this valuable information. Some questions nevertheless... :
- where this code should go? As I am not yet a JBoss guru, is there a place
where all this init work should go? a JMX service?
- which LDAP server (and browser?) do you use? openLDAP, Eudora, AC,
Title: RE: [jBoss-User] jboss, tomcat and cocoon
Hi Anders!
We are also using the jBoss/Cocoon/Tomcat combination. And we had the same problem as you had and solved it in the same way.
When it comes to performance I have been able to acheive response times of around 1 second.
My
Hi All,
is there a way for not packing all the Bean, Web application, class
files into jar, war or ear to
deploy in jboss_jetty? just because all the code is under development.
with a minor changes in the code have to rerun a few step to deploy the
whole thing.
cmwong
--
Sounds like a Win 2000 issue - the file system makes a file "appear" before
it's finished copying. I don't think WinNT did tha.
-Original Message-
From: Erik Grntoft Dybdahl [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2001 12:18
To: jBoss
Subject: [jBoss-User] Auto-deploying sometimes
Hi cmwong.
You can run jetty on a different vm and then deploy ejb and servlets
seperatly.
or you can write a batch file to move files from dev to dep and pack jar,
war and then ear and save the manual trouble.
Shahar.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL
Hello,
Again me for another problem !!!
During the creation of the bean (Home.Create), I have a ClassCastException :
java.lang.Long !!
My bean has a primary key of the type Long !
I use JBoss and JAWS (CMP) with an Access Database.
It sounds that the ejb-jar file is right.
The error occur
I have a container exception :
It is during a "findByPrimaryKey ( new Integer(1) ) ",
I use JAWS / MS Access 2000
Client side exception
-
java.rmi.ServerException: RemoteException occurred in server thread; nested
exception is:
It appears that JBoss does not return connections properly to the pool when
I invoke the close method on them in my ejbs. Therefore my program runs out
of connections. When all connections are in use, the next ejb just keeps on
waiting until a connection becomes available which is never since no
Hi Tobias (and everybody)
I had a terrible mistake !!!... (%$#@#$%)
I was connecting to a wrong schema in the db...
everything works fine now !!!
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Tobias Frech
Sent: Monday, January 08, 2001 5:08 PM
To:
Hi Thomas,
I'm new to jBoss and EJB in general, so please give these suggestions an
appropriately small degree of trust:
1) If you're invoking close() on the connection, aren't you destroying the
resource that is owned by the pool? I thought the point of the pool was to
keep open connections
Hi!
Brian Calves wrote:
I'm new to jBoss and EJB in general, so please give these suggestions an
appropriately small degree of trust:
1) If you're invoking close() on the connection, aren't you destroying the
resource that is owned by the pool? I thought the point of the pool was to
keep
Actually, when using a Datasource, invoking close() on a connection will
simply release the connection back to the pool, available for use upon
another request for a connection.
Thomas, are you invoking close in the finally clause? If not, it is
possible that some exception is occurring
Hi folks,
I user jBoss-2.0_FINAL and the SUN jdk1.3.
As far as I see my app was deployed without a problem:
[J2EE Deployer] Create application trendbridge.jar
[J2EE Deployer] Installing EJB package: trendbridge.jar
[J2EE Deployer] Starting module trendbridge.jar
[Container factory]
Title: standalone ejb container
Hi,
I am trying to find out how we can leverage your ejb container, JTA implementation, etc... within
our own server. I'de like to take out the above and insert them into our server. Where do i start?
Does our server need to have a JMX backbone like
Hi again. (I am very active lately...)
Now that my inherited CMP entities work, I come to code the session(s) to
manipulate them.
My question is :
All my sessions will be stateless.
How should I split the methods to different session beans, or shouldnt I
split ?
I mean, why dont have one
Title: Tomcat configuration lost when running the Embedded Tomcat Service
Hi !
I was previously running my Tomcat using the separate stack configuration.
That is :
MLET CODE = org.jboss.tomcat.TomcatService ARCHIVE=jboss.jar CODEBASE=../../lib/ext/
/MLET
This worked fine, apart
Title: RE: [jBoss-User] NoClassDefFoundError
Hi!
Do you have EJBs calling other EJBs?
In that case you need to define that in the Deployment Descriptor with a ejb-ref to the bean you are calling ,in the bean entity-bean you are calling from. If the reference is not defined jBoss will not
Hi,
I posted a suggestion a month or so ago about changing the build script
for NT to make it compatible with newer versions of ant (some nasty
scripting stuff to use absolute rather than relative paths).
I just got the latest jboss source from cvs and it seems that someone
has decided to
hi,
i assume you're using VisualAge for Java 3.5.
the class EJBHome in the project 'IBM Enterprise Extension Libraries' does
not have the method getHomeHandle(). you can fix this problem by importing
ejb.jar of in the jboss lib-directory, but it will break the Websphere Test
Environment (WTE)
Then it's a RedHat 6.2 issue too. Perhaps there should be a little
larger wait time before deploying.
Cheers,
Tobias
"Kenworthy, Edward" wrote:
Sounds like a Win 2000 issue - the file system makes a file "appear" before
it's finished copying. I don't think WinNT did tha.
-Original
I am invoking close in the finally clause. I am invoking close not to
actually close the connection but to let the container know that I am done
with it and that the connection can be recycled to the pool. Unfortunately
it is not returned to the pool which makes JBoss basically unusable for me
Folks,
no its a problem with the file URL handler.
\Daniel
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
I have JBuilder 4 foundation.
1) Can i write EJB's with it that will work with JBoss or do i need the
Enterprise edition for $2000?
2) Can i debug my EJBs with Foundation or do i need Enterprise?
3) If either of those answers is 'no', is there a free/cheap IDE i can
use to write or debug
Hi all,
I've just built the latest CVS version of JBoss and deployed an app
which I've been running without any problems. Everything is fine - the
initial deployment goes without a hitch. But when I rebuild the app and
copy the jar file to the jboss "deploy" directory the autodeployer
cracks up
Hi.
You either code a session bean method to perform that query or write a
finder method for the entity bean, something like findByMaxPK...
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Christophe Demez
Sent: Tuesday, January 09, 2001 8:00 PM
To:
Thanks.
The problem disapeared after I cleaned up the bat file I used to start
jboss. A class that was in the call stack of this exception was in this
classpath. Probably the classloaders got confused about my collections of
classpaths.
Now it seems to work :-)
Tobias Frech [EMAIL
Hey,
well, I chose the second option: since session are facades, I grouped
related methods into a single session, so I have few sessions with some
method. Useful also to deploy only parts of a complex system. If the system
is simple, I guess one session is ok.
Just my 0.02$
Simon
You can definitely debug EJBs with JBuilder Foundation. I believe there is
doc describing this on the JBoss website, but basically, you can probably
figure out how to set things up by examining the batch file used to start
JBoss. One thing of note: I am using JBuilder to edit and compile my
To access your database pool via:
java:comp/jdbc/PoolName
You need to add a resource reference to your bean in
your deployment descriptor (ejb-jar.xml - see EJB1.1
spec for more details):
session
...
resource-ref
descriptionDatabase connection
pool/description
Hi,
If I remember properly, with the Minerva pools the connection
is not simply returned to the pool on close if a transaction
is active.
It has to wait until the transaction terminates so that it can
do a commit or rollback on the DB connection.
Best Regards,
Ole Husgaard.
[EMAIL PROTECTED]
This has come up a number of times and the answer that has been given is that
the current auto deployer needs to be redesigned to work correctly. When I
asked about it, Marc replied:
"The deployer was a first draft and is in need of serious
rethinking/redesign. Usually we refactor but in this
I'm interested in executing some code at container startup time.
Weblogic provides for such functionality -- you build a class that
implements the interface "weblogic.common.T3StartupDef", set some properties
in the weblogic.properties file, Weblogic will load your class and invoke
your
I also get this error, give me some day...
Simon
-Original Message-
From: Ralf Purnhagen [mailto:[EMAIL PROTECTED]]
Sent: marted 9 gennaio 2001 20:54
To: jBoss
Subject: [jBoss-User] Re: Auto-(Re)Deployment Failure
Hi Luke,
you are not the only one, who got this stack trace.
Hi
jboss has the same funcionality using JMX, basically you have to implement
an MBean that will be loaded on jboss startup, check the docos
regards
Roberto
- Original Message -
From: "John Festa" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 09, 2001 8:36 PM
Subject:
I was checking out the oracle howto and I have a few questions.
1). It says to download minerva.jar but I don't see that ot jBoss.org
2). Where can I find more definative info on MLET ?
Also, is there a graphical deploytool?
d.
--
Is there a current DTD for jboss.xml? I am trying to
program TogetherSoft to deploy jboss descriptor files
and I need a DTD for jboss.xml. Where can I find it?
THanks,
Ozzie Gurkan
--
--
To subscribe:[EMAIL PROTECTED]
To
On Tue, 9 Jan 2001, dferugson wrote:
I was checking out the oracle howto and I have a few questions.
1). It says to download minerva.jar but I don't see that ot jBoss.org
not sure, but i believe minerva is its own app, not hosted by oracle nor
jboss but supported by both.
2). Where can I
Browse CVS online under module newsite, probably under documentation there
is jboss.dtd (can't access www.jboss.org to confirm you now the exact
place).
Simon
-Original Message-
From: Ozzie Gurkan [mailto:[EMAIL PROTECTED]]
Sent: marted 9 gennaio 2001 23:22
To: jBoss_user_group
On Tue, 9 Jan 2001, Ozzie Gurkan wrote:
Is there a current DTD for jboss.xml? I am trying to
program TogetherSoft to deploy jboss descriptor files
and I need a DTD for jboss.xml. Where can I find it?
THanks,
Ozzie Gurkan
i think this is what you need...
posted by derek slager on
what is jnp-client.jar.
More details please
My directory structure
d:\jboss\examples\interest\com\web_tomorrow\interest
where is dist/client
Thanks
-Aswath
From: "Bordet, Simone" [EMAIL PROTECTED]
Reply-To: "jBoss" [EMAIL PROTECTED]
To: 'jBoss' [EMAIL PROTECTED]
Subject: RE: [jBoss-User]
Where do I download minerva.jar?
--
Doug Ferguson
Software Developer
www.coremetrics.com
512-342-2623x212
512-619-9972(cell)
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?:
I found jnp-client.jar.
Still could not run.
I got the context when I run TestClient.
This is the output.
Got context
javax.naming.NameNotFoundException: interest not bound
why is interest not found???
My classpath env variable does not have anything. Is that OK?
-Aswath
From: "aswath
Hey,
what is jnp-client.jar.
It is a Java ARchive; more info on the Sun's site, www.java.sun.com
More details please
I guess you installed JBoss and you started it. So to start JBoss what do
you do ? You run a batch or script under which directory ? dist/bin.
So,
I am using stateless session beans. Each of the beans has one method that
can be called from the client. If this method is involved in a transaction,
the transaction
commits when the method returns. Does this mean, I cannot return
connections to the pool within each of these methods since the
Hey,
I found jnp-client.jar.
OK ! :)
Still could not run.
I got the context when I run TestClient.
This is the output.
Got context
javax.naming.NameNotFoundException: interest not bound
why is interest not found???
Interest is not bound (not found) in JNDI, so there is some
Minerva used to be the JBoss implementation of the pool, but is now in the
core JBoss, so you already have it.
About graphical tools, you can use EJX, running from dist/bin directory the
command java -jar ejx.jar.
Simon
-Original Message-
From: dferugson [mailto:[EMAIL PROTECTED]]
Hi,
Minerva is bundled with jboss... Although it should be runnable
standalone.
so long
Ingo Bruell
---
[EMAIL PROTECTED]
ICQ# 40377720
OldenburgPGP-Fingerprint: CB01 AE12 B359 87C4 BF1C 953C 8FE7 C648 169E E5FC
Germany PGP-Public-Key available
I suspect that would be sort of difficult as you'll have to redeploy
your beans anyway ... we use ANT http://jakarta.apache.org/ant/index.html
to automate all the steps (compilation, packaging, deploying)
Robert.
-Original Message-
From: Wong Chee Mon [mailto:[EMAIL PROTECTED]]
Sent:
I've been rummaging around all the documentation and I haven't been able to
find anywhere that tells me which files I need to include in my EJB clients
so that they can talk to the server. One doc says to include the
lib/ext/ejb.jar. This fixed some of my problems but then I had problems
[EMAIL PROTECTED] wrote:
I am using stateless session beans. Each of the beans has one method that
can be called from the client. If this method is involved in a transaction,
the transaction
commits when the method returns. Does this mean, I cannot return
connections to the pool within each
I created a BMP entity bean that has a findByPrimaryKey() function that loads the
bean. jBoss loads it
correctly, but for some reason calls ejbStore() on it twice. I figured it would call
ejbLoad before it called ejbStore again.
This gives me a problem because I have a timestamp field in
Hey,
see under dist/client. You'll see there all the needed jars that your client
need to have. In particular, as you've already discovered, a minimal client
needs:
ejb.jar
jnp-client.jar
jboss.client.jar
jndi.properties
You just gave up one step before the finish :)
HTH,
Simon
This is what I include to run successfully:
${jboss.home}/client/ejb.jar
${jboss.home}/client/jboss-client.jar
${jboss.home}/client/jnp-client.jar
- Original Message -
From: "Chad LaJoie" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 09, 2001 3:50 PM
Subject:
I've seen the graphical deployment tool, is there a deployment descriptor file tool?
Does anybody know of a free one out there? Call me lazy, but it gets annoying
creating
these files.
--
--
To subscribe:[EMAIL PROTECTED]
Following earlier examples, I set up the
JAAS framework, and authorization works fine.
However, roles-based authentication does not work
-- that is, public credentials (the roles) are properly
set per user. But the per-method restrictions, as
specified in the ejb-jar.xml file, are not
I have been reading the jboss cmp quick start for oracle and there are
some descrepancies I was curious if you guys could straighten out for
me.
It mentions installing minerva which you people have told me is now
included in the jBoss main distro. But if you look in the first xml tag
that I have
Hi!
Please have a look at
http://cvs.working-dogs.com/ejboss/cvsweb/index.cgi/~checkout~/newsite/documentation/oraclecmp.htm?rev=1.4content-type=text/plain
. (Perhaps you have to save this as html and reload it).
I just made some slight adjustments, many more may be needed. Marc will
hopefully
I am considering using Castor with JBoss and am trying to work out the most
appropriate architecture for my application. I'm also using Tomcat for a
servlet front end for this app, with Struts MVC architecture and custom JSP
tags. In addition, I'm looking at using EJBDoclet, which I've found
Hello!
For those JBoss users who are not subscribed to jboss-dev mailing
list I repeat here CVS log (jboss-dev subscribers have seen this log
enough times :-)
Package structure for security stuff improved.
Classes from "system" package moved to "security" package.
Added "security/plugins" and
How do you guys make arrangement on a big project when a few programmer is take part?
1)split into smaller part and each programmer work on one Web context so
the programmer are doing the compilation and packing? In the final stage
then only combine the small part into one web context?
2)apoint
Hi,
I can't seem to get a CMP bean with multiple fields to actually find a
bean
I would rather not wish to implement as a stateless session bean becuase
a CMP should work for this.
Can any give a suggestion on what I may be doing wrong?
Or possible a concrete example of a CMP with multiple
Hello,
I m looking for a way of getting the key value ( or the EJB ) for the bigger
primary key.
it is like Select MAX(PrimaryKey) From MyTable, do you think it is possible
? and how ?
Thanks a lot
Christophe
--
--
To subscribe:
On Tue, Jan 09, 2001 at 12:31:04PM -0800, aswath satrasala wrote:
I am new to jboss with little experience on EJB.
I am at step 6 in the sample application. I compiled
InterestClient, and I am able to deploy the Interest bean
successfully.
java -classpath d:\jboss\lib\ext\ejb.jar
On Tue, Jan 09, 2001 at 04:42:00PM -0600, Gedanken wrote:
On Tue, 9 Jan 2001, Ozzie Gurkan wrote:
Is there a current DTD for jboss.xml? I am trying to
program TogetherSoft to deploy jboss descriptor files
and I need a DTD for jboss.xml. Where can I find it?
THanks,
Ozzie Gurkan
On Tue, Jan 09, 2001 at 11:05:58PM -, Bordet, Simone wrote:
Hey,
I found jnp-client.jar.
OK ! :)
Still could not run.
I got the context when I run TestClient.
This is the output.
Got context
javax.naming.NameNotFoundException: interest not bound
why is interest
Hi,
You are probably using the JBoss default commit
option A. See EJB 1.1 spec, section 9.1.10 for
details about commit options.
Commit option A is the fastest because the bean
data is not synchronized from persistent storage
at the start of every transaction. Thus two times
ejbStore() in a row
hi,
i assume you're using VisualAge for Java 3.5.
the class EJBHome in the project 'IBM Enterprise Extension Libraries' does
not have the method getHomeHandle(). you can fix this problem by importing
ejb.jar of in the jboss lib-directory, but it will break the Websphere Test
Environment (WTE)
Hi!
I'd like to know if JBoss supports more than one InitialContext in a servlet
or in a stand alone client. I will explain: I need to make connections to
different app servers and then execute some methods of Enterprise Beans
deployed in this servers.
Is it possible? I'm currently running
I have created mulitple JNDI InitialContext using different provider info. I have
not talked to other appservers, just different JNDI sources(LDAP, filesystem, JMS).
- Original Message -
From: "Guilherme Ceschiatti" [EMAIL PROTECTED]
To: "jBoss" [EMAIL PROTECTED]
Sent: Tuesday, January
I tried using an ejb-name that when mapped to a JNDI name results in a heirarchical
non-atomic name in the jnp JNDI implementation and the container barfed an NPE:
[Verifier] Verifying
file:/D:/usr/local/src/cvsroot/jBoss/jboss/dist/tmp/deploy/Default/dscape.ear/ejb1001.jar
[Container factory]
Hi!
I wrote several CMP beans. They run OK. But the problem is, that every time
I get an entity bean from its home, jBoss calls ejbStore() on it TWO times
when the reference is released. This happens even if no changes were made to
the bean at all! From my point of view, I would like no
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: 09 January 2001 20:32
To: jBoss
Subject: Re: [jBoss-User] JBuilder
1. No. Only JB4EE works for this.
Not true.
You can however still use the tool. You just
need the right JDK (e.g. J2EE 1.2) and actually
72 matches
Mail list logo