state is still pre-beta (need volunteers, man!), but we use it in a
beta environment here at infor (around 10 people developing ERP
functionality on top of jboss/ZOAP).
There is a single serious bug in the threadpool that I´m aware of and that I
like to pin
ASAP.
Otherwise, the only problems
Hi!
I could not sleep at night because of this question. Maybe I am
stupid. If then, don't shout too much. Thank you.
If I have 2 Entity Bean : CustomerBean and AccountBean
In Account I have a field of type Customer (the Remote Interface of
CustomerBean)
I create a Customer
I create a
Hey,
jar classes and war classes share a common parent classloader.
The rest is done by the classloader's delegation.
Simon
-Original Message-
From: Castro, David [mailto:[EMAIL PROTECTED]]
Sent: gioved 8 febbraio 2001 7:11
To: '[EMAIL PROTECTED]';
'[EMAIL PROTECTED]'
Subject:
Ciao
Andrea,
Check
that in some description you didn't use some italian "special" characters such
as accented a, i, u, o, e.
Check
also the encoding of your ejb-jar.xml, to support "special" characters must have
the first line as such:
?xml version="1.0"
encoding="ISO-8859-1"?
HTH,
We have a practical prototype here at infor, but it´s far too big to count
as an
example. So except the unit tests, there is currently no other practical and
didactic
thing running.
Like to volunteer a StockTicker ?
Best,
CGJ
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
here you are, http-server mbean will now give some
logging statements for your pleasure.
-Ursprngliche Nachricht-
Von: Flemming Schmidt Boller [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 7. Februar 2001 10:19
An: 'jBoss'
Betreff: RE: [jBoss-User] ZOAP
HI again
Is it possible ? just
maybe there is still something I did not understand about the mbean and conf
stuff ... but good to hear that it works.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Gesendet: Mittwoch, 7. Februar 2001 17:42
An: jBoss
Betreff: Re: [jBoss-User] Zoap - Error
Does jBoss CMP support inheritance in entities?
By "inheritance in entities" I mean that where entity B is a subclass of
entity A, rather than repeat all the fields of the ancestor for each
subclass of an entity, I usually just have them share a primary key with a
1:1 relationship optional on
Here's a silly question about CDATA.
This is the sample you gave.
finder
namefindByRefDocumentAndCounter/name
query![CDATA[component = {0} AND site = {1} AND refDocument = {2}
AND counter = {3}]]/query
order/order
/finder
Judging by the sample, the square brackets are part
I smell either a race condition or a deadlock.
Interbase doesn't do locking, it uses versioning instead to achieve level
five isolation.
This means that each process sees the entire database as it existed at the
time that process's transaction started. This would prevent jBoss from
realising
Hi.
My jboss-2.0-final was up all night, and when I came back this morning and
tried to "Collection findByXXX" (cmp bean, regular and not customized
finder) I got the above exception.
Is it the possible passivation bug you are talking about lateley ?
Should i install pre2.1 ?
should i write a
Ok, spank me if you think this is to off-topic for this list (cause it
is :) but i give it a try anyway.
And then it seems that i have problem hitting ejb-interest ML (or maybe
it is only slow) and of course that i think that this list has the far
most respective EJB folks of all lists :)
Once
jar classes and war classes share a common parent classloader.
The rest is done by the classloader's delegation.
So you're saying that while he's correct that "the" classloader can't see
the classes to be loaded, it doesn't matter because "the" classloader passes
the baton to other
You're probably missing something.
hope so... ;-)
Is the pool size of your container above zero? If so, try setting it to
zero.
Mmhhh... don't know what are you talking about :-( The size of my datasource
pools is zero, but don't think you mean that...
As far as I know, I have not changed
Hi,
I am having problems getting custom finders to work,
both using the JAWS finder tag and defining an
ejbFindXXX method. So I have two questions:
1. How do you write your own finder in an entity bean?
MyEntityHome:
public abstract Collection findBySomething(int i)
MyEntityBean:
OK. I have been investigating further and made some progress since my last
post (see below)
I have put a few prints in XADataSourceImpl.getXAConnection and determined
that
DriverManager.getConnection() gets called here in exactly the same way (same
url,
username and password) as in a simple
Tim Yates wrote:
PS: The run_with_tomcat.sh file in the combined tomcat/jboss download has
the line:
export TOMCAT_HOME=../../tomcat-3.2-b7
in it, which doesn't work on Solaris (it does with bash, not with sh)...it
should be changed to :
TOMCAT_HOME=../../tomcat-3.2-b7
export
Hi,
Verify in the archive, it has been discussed already.
To solve this problem the way you want, I could think of :
Person can be a table person(lastname,surname)
Staff can be a table staff(socialnumber)
Sales_staff can be a table sales_staff(salary) :)
StaffBean extends Personbean
Hi!
Clip from http://xml.apache.org/apiDocs/
"CDATA sections are used to escape blocks of text containing characters
that would otherwise be
regarded as markup. The only delimiter that is recognized in a CDATA
section is the "]]" string
that ends the CDATA section. CDATA sections cannot be
Even more... seems to not be JSP/tomcat related.
My brand new little Test app seems to imitate my jsp page!!
Different calls to my stateless session bean keeps the last value of its
properties!! If I change the deployment descriptor and mark it as stateful,
then different calls will always get
Apparently I own two XML references.
The block-close marker is ]] which is unlikely to appear in anything but
source code eg
if (a[b[x]]c) {...
and can easily be dodged by separating the arguments from the operator
if (a[b[x]] c) {...
or by splitting the offending sequence into two
Greetings,
I am continuing to work on the Linux jboss init script, incorporating suggestions,
and when we reach some consensus I'd be happy to write up a little section for the
FAQ on this subject.
Toby suggested using $! to capture the PID of the Java process launched in the
background. While
i would like to know gurus how to make an EAR and WAR file..i can't run JBoss tomcat
without these,...pls help me out there since i am a newbie here...many thanks
Get your small business started at Lycos Small Business at
http://www.lycos.com/business/mail.html
--
I am trying to deploy a .war file to jBoss 2.0. When I copy the .war file
to the deploy directory, the autodeployment fails with:
[Auto deploy] Auto deploy of
file:/C:/mmills/jBoss-2.0_FINAL/deploy/phone.war
[J2EE Deployer] Deploy J2EE application:
While trying to connect to Oracle from jBoss, I am getting a SQLException -
java.sql.SQLException: No more data to read from socket
at oracle.jdbc.dbaccess.DBError.check_error(DBError.java)
at oracle.jdbc.ttc7.MAREngine.unmarshalUB1(MAREngine.java)
at
H. I wrote that other note at 2 in the morning.
Yes. I think if all of the shared classes were in the server classpath it
would work. Need to play around with this more after some more sleep...
-Original Message-
From: Peter Routtier-Wone
To: jBoss
Sent: 2/8/01 4:45 AM
Subject:
Yes :)
-Original Message-
From: Peter Routtier-Wone [mailto:[EMAIL PROTECTED]]
Sent: gioved 8 febbraio 2001 11:46
To: jBoss
Subject: Re: [jBoss-User] problem with j2ee deployment - optimized
codeno t running
jar classes and war classes share a common parent classloader.
The
thank you very much...
-Original Message-
From: Jung , Dr. Christoph [mailto:[EMAIL PROTECTED]]
Sent: 8. februar 2001 10:18
To: 'jBoss'
Subject: AW: [jBoss-User] ZOAP
here you are, http-server mbean will now give some
logging statements for your pleasure.
-Ursprngliche
I'm trying to configure jBoss to work with Tomcat (separate JVMs). Well,
I've got a problem. I'm getting the following error:
javax.naming.CommunicationException. Root exception is [Tomcat]
java.lang.ClassNotFoundException: com.web_tomorrow.interest.InterestHome
This error occurs in the
Hi,
How do you access your session bean? I suspect you do a home.create()
each time your jsp runs. In this case, the following will happen:
- stateful : jboss creates a new instance. "The state is lost", because
you see a new bean each time
- stateless : since stateless beans have no state,
Use jar, the same program that builds regular jars; just be sure that the
directory structure and deployment descriptors are in the correct places
(pay attention to the case of directories names) for wars and ears.
HTH,
Simon
-Original Message-
From: Bradd R Frasier [mailto:[EMAIL
Chris when you think you are done, please post it on jboss-dev
I will actually use it on GUNS :)
marc
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Christopher Albert
|Sent: Thursday, February 08, 2001 4:25 AM
|To: jBoss
|Subject: Re:
Hi Rickard,
Thanks for your input.
Unfortunately, that didn't do it. Adding any path other than $CLASSPATH
to the
-classpath causes the compiler to not recognize the bean.
So
javac InterestClient.java from the directory where the client is
will compile fine
but will give runtime error:
Can some one explain the advantages/disadvantages or ZOAP/SOAP over XML-RPC
(http://www.xmlrpc.com/)?
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
Hi Peter,
On Thu, Feb 08, 2001 at 08:14:38PM +1000, Peter Routtier-Wone wrote:
Here's a silly question about CDATA.
This is the sample you gave.
finder
namefindByRefDocumentAndCounter/name
query![CDATA[component = {0} AND site = {1} AND refDocument = {2}
AND counter =
EARs and WARs have no special format, they are simple JAR files
which only have other suffixes and special meanings.
So you can use the standard "jar" tool which is delivered in the "bin/"
directory of your JDK distribution:
jar cf archive.war file1.java file2.java
The special meaning
I checked jaws.xml and ejb-jar.xml and I didn't found any strange character:
I didn't understand where the problem is.
These are the two files:
?xml version="1.0" encoding="ISO-8859-1"?
!DOCTYPE ejb-jar PUBLIC "-//Sun Microsystems, Inc.//DTD Enterprise
JavaBeans 1.1//EN"
U need Ant buildfile
If u want a good example -how to make an ear war file go To
www.orionserver.com there u will find OrionPrimer
and Orion CmpPrimer they will tell u all
If u need an ANT IDE get NetBean from it can make the process of building a
build.xml and compiling lot easier
and faster
Hello,
I've recently been developing an application with JBoss. I'm using
the Jboss Final 2.0 bundled with tomcat 3.2 b7 distribution. When I
throw one of my defined exceptions from a set method of a CMP entity
bean the exception gets wrapped in a
Hey
"Castro, David" wrote:
H. I wrote that other note at 2 in the morning.
Yes. I think if all of the shared classes were in the server classpath it
would work. Need to play around with this more after some more sleep...
It depends. If you have an EAR file, then servlets in the
"Mills, Maurice" wrote:
I am trying to deploy a .war file to jBoss 2.0. When I copy the .war file
to the deploy directory, the autodeployment fails with:
...
Hi,
Not sure, but a couple of possible issues spring to mind from the info
you've supplied:
You don't say whether you're
Hiya!!
- Original Message -
From: Prince Mathew Samuel [EMAIL PROTECTED]
While trying to connect to Oracle from jBoss, I am getting a
SQLException -
java.sql.SQLException: No more data to read from socket
You WILL need to give a little more information that this...
What OS are you
Hi,
I'm trying to configure jBoss to work with Tomcat (separate
JVMs). Well,
I've got a problem. I'm getting the following error:
javax.naming.CommunicationException. Root exception is [Tomcat]
java.lang.ClassNotFoundException:
com.web_tomorrow.interest.InterestHome
This
Ufff!... this really seems to explain what's going on...
I bet all lies in a bunch o missunderstood concepts in my side...
Anyway, the stateless bean was not bound to have state. :-)
Just trying to force my concepts (another way of learning, I think...)
Lots of thanks for your help!
_
Jorge
Hi,
I am using a statelesssession bean in jBoss server,
that interacts with JSP pages under
tomcat.ThejBoss server is located in a windows NT machine,
throws me the following error messages and
the
transaction gets rolled back.
# Transaction
XidImpl [ID=257, Global=VENUS/268, Branch=]
Hi,
I've given up trying to use HSQL - the support for aggregate functions is
too patchy - so we're onto Cloudscape as our interim solution...until a
"proper" db is available.
So, has anyone done the typemappings for this db? I've started a set that I
could contribute - but if someone has done
I am evaluating both ZOAP and Apache Soap. Just curious is Apache Soap
will work in Tomcat that is running integrated with JBoss. I understand
that the JBoss integration will not look at Tomcat's server.xml and there
is a setting that goes in there for Soap. Wondering if there is a way to
set
Christopher Albert wrote:
elif [ "$1" = "stop" ] ; then
shift
kill -9 $(cat /var/run/jboss.pid)
Why SIGKILL? Seems a bit harsh.
Also, I'm not sure that $(...) is sh syntax. I suspect it was added by
ksh and adopted by bash. You're almost ceratinly safe on Linux, though.
Toby.
--
Jonathan Meeks wrote:
I am attempting to make a sql query from within a stateful session
bean and get a "identifier 'JAVA_XA.XA_START' must be declared"
Hi,
I've had this problem before and I suspect it's a problem with Oracle's
8.1.6 implementation. As a workaround I've continued to
Guenther Pewny wrote:
---
That's all. It doesn't make any sense,
the bean doesn't do nothing at all, but still
- the first time I deploy it as an EJB JAR
(reduced - previously: EAR), all "works" fine.
- next time without restarting jBoss, I get all these
"Broken pipe" and
Charles Mgnin wrote:
So
javac InterestClient.java from the directory where the client is
will compile fine
but will give runtime error:
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interfaces.NamingContextFactory [Root exception is
The idea behind both is quite similar and I think that XML-RPC is about 1-2
years
older ... the significant things that fell into my eye are:
1) Industry support: With IBM MS, two major players have committed to
SOAP; with apache-soap, one major OS-community has dedicated resources to
it. If
I'm a new user of JBoss, and I ran into this very same error. What Rickard
was suggesting is to add jboss\client\jboss-client.jar to the classpath
when you _run_ the client, not when you compile it. Notice that he used
"java", not "javac", in his example.
However,
Are these changes being implemented or did they just go into the mailing
list black hole?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Dewayne McNair
Sent: Wednesday, January 24, 2001 9:22 AM
To: jBoss
Subject: Re: [jBoss-User] Apache+Tomcat+jBoss --
indirection
I have a patch available that allows Tomcat to parse the server.xml
file. Search the mail list archives for Apache+Tomcat+JBoss -- the
information is there. I'm not sure if that will solve your problem, but, it
does allow everyone to play together nicely. Also, realize that
we will try to fix that CL problem, there is a simple solution
marc
|-Original Message-
|From: [EMAIL PROTECTED]
|[mailto:[EMAIL PROTECTED]]On Behalf Of Rickard berg
|Sent: Thursday, February 08, 2001 7:42 AM
|To: jBoss
|Cc: '[EMAIL PROTECTED]'
|Subject: [jBoss-Dev] Re: [jBoss-User]
For a servlet, establishing the user identity needs to be done on each invocation.
See http://www.mail-archive.com/jboss-user@list.working-dogs.com/msg09672.html
for a previous post describing how a multi-threaded client establishes the client
identity.
- Original Message -
From: "Cor
Thanks and sorry.
I am trying it in a couple of places. The output I included in the note is
from an W2K installation that does not have Tomcat embedded with jBoss. I
have also tried it on Linux with Tomcat embedded (at least I think it is)
and I get the same results.
The CGIServlet line is
Hello,
A newbie question, more EJB than JBoss...
The JBoss documentation (Beginning Programming) states:
you will need the Bean class files on both the client and the server
even though they execute on the server. This is fairly obvious if you
think about the logic, but it causes all sorts
On Fri, 09 Feb 2001, you wrote:
Hiya!!
- Original Message -
From: Prince Mathew Samuel [EMAIL PROTECTED]
While trying to connect to Oracle from jBoss, I am getting a
SQLException -
java.sql.SQLException: No more data to read from socket
Sorry I couldn't reply to the original,
As requested log4j mlet for jboss has been posted at
http://www.geocities.com/phox_2/
Both sources and binaries.
Enjoy
Fulco
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?:
On Thu, 08 Feb 2001, you wrote:
Greetings,
[snip]
Toby suggested using $! to capture the PID of the Java process launched in the
background. While I dont think this will work in the init.d/jboss script it will
work by adding it to $JBOSS_HOME/bin/run.sh , if that script is run in the
black hole... post on jboss-dev when you have something like that or at
least give it a explicit name otherwise it gets really lost in some thread
somewhere.
did you use the changes? are they good? Do they conflict with
tomcat-jboss... do we need another binary or should it be with
http://www.sys-con.com/java/archives/0602/vernon/index_i.html
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
On Fri, 09 Feb 2001, you wrote:
Hello,
A newbie question, more EJB than JBoss...
The JBoss documentation (Beginning Programming) states:
you will need the Bean class files on both the client and the server
even though they execute on the server. This is fairly obvious if you
think
uhmm my guess would be dynamic proxy..
check out jboss' client jar yourself...
ps: jboss kick ass!
.z
Stephen Turner wrote:
Hello,
A newbie question, more EJB than JBoss...
The JBoss documentation (Beginning Programming) states:
you will need the Bean class files on both the client
Alright. Fair enough. I can understand that--JNDI uses a different class
loader than Tomcat (or something), so that it can't see new classes that are
available to the Tomcat class loader (I guess).
So what happens if you run JBoss Tomcat in the same JVM? What happens if
you use a common
We are currently setting up jboss on a WinNT 4.0 platform and are trying to
hook it up to a SQL Server 2000 database. (Don't blame us, we didn't pick
em, we just work with em). Anyway, surprisingly, we got everything working
except the connection between the entity bean memory storage and SQL
I tried using the changes Dewayne posted at the URL below but I must have
some config file screwed up or something because I can't get it to work.
Tomcat contexts are still available only on port 8080. I'm using mod_jk if
that has anything to do with it.
-Original Message-
From: [EMAIL
You need to map the resource ref you use in your bean (and declare in
your deployment descriptor) to the actual JNDI name of your datasource.
This is done in an appserver-specific way.
In JBoss you use an extra deployment descriptor, jboss.xml, to do this.
The DTD for this file is at
You still have to add the contexts to the tomcat_home/conf/mod_jk.conf in
the form of JkMount statements (that's assuming your including mod_jk.conf
from httpd.conf). Could that be your problem? Apache doesn't (can't)
dynamically pick up the contexts that JBoss+Tomcat has.
If that's not the
1) I am using Win NT Server 4
2) JBoss 2.0
3) Embedded Tomcat
4) Oracle Ver 8.1.5
5)OCI Driver
6)Oracle is mounted on Linux
7) Minerva drivers.
8) Able to connect Weblogic to Oracle, so not a prob with Oracle
9) Tried both - commented and uncommented but doesn't work for either cases.
By the
No, I get this error message right at startup, when jBoss tries to connect
to the database. I have another machine running Weblogic here, which
connects just fine.
-Original Message-
From: Tom Cook [SMTP:[EMAIL PROTECTED]]
Sent: Friday, February 09, 2001 3:13 AM
To: jBoss
Subject:
I'm not entirely sure what you're asking, but let me try re-phrasing it to see
if I've got it.
"If I create an entity bean and then restart JBoss, will that entity bean still
be there? If so will it have exactly the same data?"
Is that about it?
If so, then yes, it will still be there, and
Hi Friends
I am looking for a free/open source IDE for Fast EJB Developement. If you know
about any pls do reply.
With Best Regards ...
Ravi
Get free email and a permanent address at http://www.netaddress.com/?N=1
--
OK, are you using bean managed or container managed persistence?
If you are using bean managed persistence, then you need to implement ejbLoad,
ejbStore etc. If not, then that is very strange indeed.
Tom
On Fri, 09 Feb 2001, you wrote:
We are currently setting up jboss on a WinNT 4.0
Tom,
Thank you for your reply.
I understand what you say.
My question was on the Remote Interface for this bean that I read after
JBoss restart.
If I have saved the RI(Customer) in a field of another Bean(AccountBean)
(Customer in AccountBean of JBossTest for example), when I read my Customer,
I
When compiling, you should add the directory where your .class files are
located, NOT "src" - source files (.java).
Alexander Klyubin
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Charles Mgnin
Sent: Thursday, February 08, 2001 17:04
To: jBoss
I'm not sure about the origin of you problem, but we had problems with
Tomcat 3.2.1. Namely, it does not reload .jar files correctly. So, we have
to restart Tomcat each time we modify out beans' JAR. If you don't, then it
might happen, that servlet part becomes out of sync with EJB part, and some
I set up JBOSS to use a db2-database and I ran into some problems with BMP
- Entity Beans
In my program I call the findByPK-method.
This method gets a connection, finds the row, returns the connection and
passes the key to jboss.
Afterwards ejbActivate - ejbLoad get called.
Load also asks
80 matches
Mail list logo