Hello people,
Am trying to work with message-driven beans. I have deployed an MDB in Jboss
successfully. While running the client, I get an exception that says
java.lang.InstantiationException : org.jboss.jms.jndi.JMSProviderAdapter
What could be the problem?
Unmesh Malvankar
Get your smal
I am trying to call Oracle CMP from a jboss/tomcat servlet and I get this error:
javax.naming.NameNotFoundException: jdbc not bound
The call I am using looks like this:
InitialContext ic = new InitialContext();
DataSource ds = (DataSource) ic.lookup("java:/jdbc/APConnectionPool");
Yep, pretty standard pattern to use a value bean to avoid lots of remote
calls. We go a step further and use a session bean to do meaningful lumps of
work on the server.
-Original Message-
From: Alexander Kogan [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2001 20:48
To: jBoss
Subject: Re:
-Original Message-
From: Rick Horowitz [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2001 17:24
To: jBoss
Subject: RE: [jBoss-User] HOWTO: Replacing Entity with Session bean and
ma nage the persistence
Hi Ed,
>> >in case you need to create new/update/remove existing records in db, you
Thats got it. Thanks guys.
Andy
-Original Message-
From: Sacha Labourey [mailto:[EMAIL PROTECTED]]
Sent: 23 January 2001 15:27
To: jBoss
Subject: RE: [jBoss-User] JBoss / Java console window
Hello,
start the command line with "start" i.e. :
start javaw -classpath "%CLASSPATH%" org.j
> The resin server is treated as an ordinary client. The client jars and
> the interface classes are thrown into the resin/lib/ directory.
Are you saying that you take the jboss-2.0-FINAL/client/*.jar files and
place them in resin1.2.2/lib directory? How do you get JBoss started?
I'd really ap
Follow up:
Rick is accurate. There is something weird going on with Tomcat. It is not
picking up the jars located in the /WEB-INF/lib directory at all! This is
Tomcat 3.2.1 which I downloaded 3 days ago. Looking at their examples none
have the /lib directory. Did anyone every get it work on 3.2.b
must have missed the start of this one, but we had exactly this problem
with foreign
keys and Oracle 8.1.6 as well. the first option was to drop the foreign
keys which worked but had the obvious problems. the next thing I tried
was moving to the latest cvs and using the latest 8.1.7 oracle drive
On Jan 26, Dewayne McNair quoth:
> Anyone using JBoss with Caucho's Resin servlet engine? Seems to be a very
> fast servlet engine, I'm just not sure how to integrate JBoss with it.
We are. http://www.liquidwit.com Both as srun through apache and the
standalone server (for development internal
Hi Rick,
i've just completed my test of separate JVMs for Jboss (2.0 Final) and
Tomcat 3.2.1 using the examples. I couldn't phantom why the example was
putting the EJB client jar in the tomcat classpath. I left it as that.
After reading your message, I think I will go back and retry the 'proper'
Hey Tobias and Andrew,
s :)
1 - The repeated LOCKING-WAITING was a tradeoff for other problems, I'm
already looking into it to improve it, but causes no harm, it is not an
error (if the container after a while stops printing).
2 - It happens when you have a bean involved in a transaction and
I have given up and decided to just put all my servlet, Struts, and EJB
interface classes into a single JAR file that I put on the system classpath
instead of in the WAR files WEB-INF/classes and lib directories. This just
required some changes to my ANT build script so is not a big deal, but
On Friday 26 January 2001 20:32, arojo wrote:
> Hi, I'm new to JBoss.
>Is it posible to have JBoss20-EJB connections through SSL?.
> Is there any software I can apply easily to achive this?.
AFAIK no.
> If I have to change code, is there any help to look at?.
Do you mean "to easily change c
Well, multiple jaws.xml files work fine when I dont stick extra jars in the
classpath by accident.
never mind the treatise below this.
-Original Message-
From: Castro, David [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 2:19 PM
To: 'jBoss'
Subject: RE: [jBoss-User] is it poss
Anyone using JBoss with Caucho's Resin servlet engine? Seems to be a very
fast servlet engine, I'm just not sure how to integrate JBoss with it.
-- Dewayne
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROT
duh, "https"
Nevermind.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jamie Orchard-Hays
Sent: Friday, January 26, 2001 4:40 PM
To: jBoss
Subject: RE: [jBoss-User] using SSL in Jetty and JBoss
I got it working (I needed to use to get the
correct pat
Hi Andrew!
I know that problem. From time to time we see it too. But after an awful
long time (in measures of CPU time) the container recovers somehow. To
help to pin down that problem we could collect all the information about
when this occurs.
Which version of JBoss are you using ?
Can you rep
RE: [jBoss-User] JBOSS and OracleYeah, I hear you I followed that thread.
It is simply the transaction isolation level.
By default it is set to READ_COMMITED which means that during any time in
your transaction you will only be able to read committed data, and that is
where the problem exist.
In t
I got it working (I needed to use to get the
correct path), but when I browse to a page at 8443, I just get a bunch of sqares
served up, rather than pages.
Jamie
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Jamie Orchard-Hays
Sent: Friday, January 26
Title: RE: [jBoss-User] JBOSS and Oracle
The big problem is that the XA driver from Oracle keeps timing out whenever
I have two beans which write to tables that have a master/detail FK relationship.
The detail bean times out, because the master record (which was just inserted prior
to the deta
JBOSS and OracleI'm not sure why this would be a problem at all.
since you are dealing with BMP you are controlling all the data flow
yourself.
You can even set up a workflow using a session bean to controll the entity
beans if you need to.
I don't see a problem with foreign keys and entity beans.
Bolt, Dave wrote:
> Could you use the LOB locators function empty_blob() as a parameter?
H. I'm not familiar with this. Is this something I can do in
the entity-bean code, or would I have to modify the JAWS code? I doubt
the JAWS authors would put an Oracle-specific patch (and I don
I uncommented the ssl directive in jetty.xml (running in same vm as JBoss) and
got the following error:
What am I missing? I'm using "run jetty" to start the servers, so the config
files are in conf\jetty. Thanks.
[Jetty] jetty.ssl.keystore=etc/demokeystore - EVENT
[Jetty] jetty.ssl.password=**
Check what you have your CLASSPATH environment variable set to. It
should be empty, ideally. Your beans should have no problem finding
javax.ejb.*. Mine have no problem.
Toby.
Patrick Buchinger wrote:
>
> ok, i just found out something:
>
> i wrote a package which contains an abstract class
Hmmm. it does seem to be a bug. The issue is that in
org/jboss/ejb/ContainerFactory.java, the call to load up the ejb-jar.xml and
jboss.xml is made first (line 341: ApplicationMetaData metaData =
efm.load();) using a temporary classloader which is only aware of the
correct jar file. The
I'm trying to decide whether to do CMP or BMP on my entity beans. What is
the prefered way? (I will have an application that will have 15-20 tables in
the database)
Any suggestions?
--
--
To subscribe:[EMAIL PROTECTED]
To
I haven't used BLOBs so I can't comment on a work around, hopefully
someone else has and can comment. As far as other Oracle drivers, I
don't know of any other type 4 drivers. Merant has a type 3 driver that
works well and may solve the problem you have. It is expensive though,
about $4000.
Title: RE: [jBoss-User] CMP (JAWS), Oracle and BLOBs
Could you use the LOB locators function empty_blob() as a parameter?
-Original Message-
From: Jeffrey Wescott [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 26, 2001 2:45 PM
To: jBoss
Subject: [jBoss-User] CMP (JAWS), Oracle and
Title: JBOSS and Oracle
I have been struggling with getting some BMP beans to work against Oracle. I
appreciate the help that others have provided, but I am slowly being
convinced that JBoss 2.0 final will not support BMP if Oracle Foreign Keys
are involved. We have even done some testing a
What does LOCKING-WAITING (TRANSACTION) mean?
1. Does it mean the row in the database is locked? OR
2. Access to the particular entity bean is locked - the non-reentrant bean
thing.
Some notes -
- I have no reentrant entity beans
- Application works fine for one customer buy transaction
- Applic
Hi, all.
I'm using JBoss-2.0-FINAL and have written several CMP Entity beans of
the sort where there are nested entity beans and nested collections of
entity beans, for example:
Consider three entity beans: A, B and C. Entity Bean A has as a
CMP-managed field a Collection of Entity bean C ob
Does anybody have the Petstore sample. The tgz file from the site seem
to be corrupted.
Alvin
--
--
To subscribe:[EMAIL PROTECTED]
To unsubscribe: [EMAIL PROTECTED]
List Help?: [EMAIL PROTECTED]
Hi, I'm new to JBoss.
Is it posible to have JBoss20-EJB connections through SSL?. Is there
any software I can apply easily to achive this?. If I have to change
code, is there any help to look at?.Thanks
Alvaro
--
--
To su
Dear Guys,
can any one give me the url for the new site.. someone said that i could download the
entire documentation from there
Thanking you
Sincerely
Sureshbabu nair
_
Chat with your friends as soon as they come online. Get Rediff Bol at
http
Is this a bug?
Normally, when you deploy an ejb jar file, you can include ejb-jar.xml,
jaws.xml, jboss.xml. So in making my ear file, where I have 3 entity jar
files, each jar has ejb-jar.xml, jaws.xml, jboss.xml. However, I noticed
that during deployment of each ejb jar file, it seemed to be
I think that the following should be okay:
public boolean equals(Object o) {
try {
UserListPK in = (UserListPK)o;
return ( userID.equals(in.userID) && listID.equals(in.listID) );
} catch (ClassCastException e) {
return false;
}
}
++Jeff
Indika Fernando wrote:
Thomas,
looks like you are using 2 different versions
if org.xml.sax
(one on the client and another one on the server)
jboss has this in lib/parser.jar and lib/ext/xml.jar
you may have this class in your own libs, and
they can be different.
Alex.
[EMAIL PROTECTED] wrote:
>
> Recently, I h
Recently, I have been getting the following error when accessing one of my
stateless session beans:
java.rmi.UnmarshalException in batchserver.ImportProcessor.process():
Error unmarshaling return; nested exception is:
java.io.InvalidClassException: org.xml.sax.SAXException;
Local class not compat
Hi Dave,
Here is all of my code and configuration files. Not too much...
I use Win2000, oracle 8.1.7, the thin driver and jboss 2.0 final
I hope this can help you
JMi
jboss.conf
==
you should try:
tools->options->mail format->plain text
and public mailing lists are not the best place to test your mailer
settings, try sending and email to yourself.
regards,
--andrius
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Bolt, Dave
There
Hi Ernest,
Put jboss-client.jar to the client classpath.
You also need jnp-client.jar, ejb.jar and jndi.jar, and maybe
spydermq-client.jar, jaas.jar and jta-spec1_0_1.jar.
Ernest Chen wrote:
> I'm new to Jboss and EJB. While trying to set up a sample EJB client/server
> application, my client a
Title: Test using Outlook instead of HOTMAIL
Sorry for the post, please ignore.
Dave Bolt
There is always plenty of bandwidth, just none for you.
Hi,
Obviously JBoss opens up a number of TCP ports. I'm wandering what
security risks there may be associated with each of these, assuming the
machine running JBoss is accessible via the Internet.
In my configuration, the following ports are being opened up. (I'm
using Tomcat with JBoss in sep
Title: security.SecurityAssociation?
Hi,
I'm new to Jboss and EJB. While trying to set up a sample EJB client/server application, my client applications fails to start. It's complaining about "org/jboss/system/SecurityAssociation", which doesn't exist in any package, I checked out the cvs
Hi!
> "Bolt, Dave" skrev:
>
> Sorry about the HTML, I'm using Microsoft Outlook 2000 SR-1 and it
> says it is posting in "Plain Text".
>
> Does anyone no how to turn it off? I've tried. The Sun newsgroups
> reject any post made via MS Outlook. Maybe it's time to setup a junk
> HotMail account s
Title: RE: [jBoss-User] JBOSS and Oracle
Sorry about the HTML, I'm using Microsoft Outlook 2000 SR-1 and it says it is posting in "Plain Text".
Does anyone no how to turn it off? I've tried. The Sun newsgroups reject any post made via MS Outlook. Maybe it's time to setup a junk HotMail acco
Hi.
This is my first day with JBoss...trying to port an application from
Orion...
I unzipped the jboss-tomcat (tried with jboss-jetty also )and started
it..This is what i got every time:
[Container factory] org.jboss.ejb.DeploymentException:
http://java.sun.com/j2ee/dtds/ejb-jar_1_2.dtd
The log
Guess what ?
You're not the first to have this problem. Search the mailing list, you'll
find the answer.
Simon
PS: and include jboss-client.jar in your client's classpath (from
dist/client).
> -Original Message-
> From: Indika Fernando [mailto:[EMAIL PROTECTED]]
> Sent: venerdì 26 genna
Add jboss-client.jar to your classpath
Include jboss-client.jar in your classpath
-Original Message-
From: Indika Fernando [mailto:[EMAIL PROTECTED]]
Sent: 26 January 2001 13:45
To: jboss
Subject: [jBoss-User] javax.naming.CommunicationException
When I run my client I get thic excepti
ok, i just found out something:
i wrote a package which contains an abstract class which provides some
methods. all my EJBs (stateless session beans) extended this class.
first the deployment failed because during deployment a
"java.lang.NoClassDefFoundError: javax/ejb/EJBException"
occured.
When I run my client I get thic exception ..please help I need a quick
reply..
javax.naming.CommunicationException [Root exception is
java.lang.ClassNotFoundEx
ception: org.jboss.ejb.plugins.jrmp13.interfaces.HomeProxy (no security
manager:
RMI class loader disabled)]
--
---
Hi!
Achim Demelt wrote:
> Well, any concrete ideas for a solution? As I said, I wrote my own
> RMISocketFactory and the container factory says that it created one of my
> ServerSockets which should be able to handle 1 incoming connections in
> the backlog queue. Why do things still go wrong?
I'll do it.
Thanks Craig.
Simon
> -Original Message-
> From: Ralf Purnhagen [mailto:[EMAIL PROTECTED]]
> Sent: venerdì 26 gennaio 2001 12:15
> To: jBoss
> Subject: [jBoss-User] Re: SpyderMQ/deployment problems
>
>
> This patch works for me. Can somebody please commit this to CVS or
>
Hi!
Well, any concrete ideas for a solution? As I said, I wrote my own
RMISocketFactory and the container factory says that it created one of my
ServerSockets which should be able to handle 1 incoming connections in
the backlog queue. Why do things still go wrong?
regards,
Achim
> Hi!
>
>
Hi!
Indika Fernando wrote:
> when I run my client this exception comes
> thanx in adv ,I need a quick reply
> javax.naming.NoInitialContextException: Cannot instantiate class:
> org.jnp.interf
> aces.NamingContextFactory [Root exception is
> java.lang.ClassNotFoundException: o
> rg.jnp.in
hi!
i've installed jBoss 2.0 FINAL on my machine (linux 2.2.16 with jdk 1.3). until
yesterday i could deploy without any problems, but since today i cannot deploy any
EJBs anymore.
i did not change anything in my jboss' configuration, so i think it is a problem in my
jar file...
i took a quic
when I run my client this exception comes
thanx in adv ,I need a quick reply
javax.naming.NoInitialContextException: Cannot instantiate class:
org.jnp.interf
aces.NamingContextFactory [Root exception is
java.lang.ClassNotFoundException: o
rg.jnp.interfaces.NamingContextFactory]
--
Hi!
Achim Demelt wrote:
> > Try having this delay between each thread, and make 1000 requests in
> > each thread instead. See what happens.
> >
>
> I ran the test with 500 threads, 1 requests each, and delaying 1 second
> between starting threads. it worked fine. so it seems to be a problem
hello,
>
> There are two separate issues here. First, a connection has to be
> established. Second, it is used to handle requests. The delay you
> introduced only helps with the connection establishing.
>
> Try having this delay between each thread, and make 1000 requests in
> each thread instead
Hello Rickard,
> No, incorrect.
...
> Nope.
...
> Wrong.
oups...
...
> *That* is correct.
ouf!
> Extension is that two deployed beans must, by
> default, be mapped to two separate database tables, since they must have
> different EJB names.
OK, I see.
> If this is not desired, such in your
Hi!
Achim Demelt wrote:
> yes, the threads are spawned ASAP. I inserted a one-second sleep after
> starting each thread and --- who'd have thought that --- it works!
> BUT: since each invocation only takes a few milliseconds, the first thread
> will have sent all its 50 requests to the server and
hi,
> Achim Demelt wrote:
> > to make things clear: this is not a configuration problem. calling the
> > method once, or only from few thread simultaneously, everything works
fine.
> > the above exception occurs, when the client is supposed to start 50
threads,
> > each calling the method 50 time
Hi,
cvs checkout newsite/documentation
-- Juha
On 26 Jan 2001, Sureshbabu Nair wrote:
> Dear Guys,
> i need a the docs for jboss server something whioch can be downloaded on my comp..
>that will help me whenever i need.. coz cost of going internet in India is expensive.
>If there's the do
Sacha Labourey wrote:
> > Well the best advice I think is "just do it". :-)
>
> Great!
The best things are often the simplest :-)
> > Create the ejb-jar.xml just as with any other beans. The only difference
> > is that two entries will have the same bean class.
>
> So, the deployer uses the fu
This patch works for me. Can somebody please commit this to CVS or
does it break something?
Ralf
Craig Day wrote:
>
> its in the JMS monitoring. init, start, stop and destroy dont call
> isJMSMonitoringEnabled()
> before setting up or cleaning up like the logActivation() etc call does.
> Ive ma
> The following is my PrimaryKey class and I want to know how should I
overide
> the equal() method and whether my code is correct
> can anyone propose me a good site to learn this stuff
> thanx
> package com.web_tomorrow.user;
>
> // java core API
> import java.io.Serializable;
> public cl
Dear Guys,
i need a the docs for jboss server something whioch can be downloaded on my comp..
that will help me whenever i need.. coz cost of going internet in India is expensive.
If there's the docs that can be downloaded in html/zip or pdf format
Thanking you
Sincerely,
Sureshbabu Nair
_
Hello Rickard,
Thank you for your answer.
...
>
> > Can a same CMP Bean "AB" be accessed by A and B?
> > How to deploy this?
>
> Well the best advice I think is "just do it". :-)
Great!
> Create the ejb-jar.xml just as with any other beans. The only difference
> is that two entries will have t
Hi!
Achim Demelt wrote:
> to make things clear: this is not a configuration problem. calling the
> method once, or only from few thread simultaneously, everything works fine.
> the above exception occurs, when the client is supposed to start 50 threads,
> each calling the method 50 times. sometim
Hi,
have you even serched the the mail archive? Do that for Message Driven
Beans! You will find one with a small howto, and you will fins several
that points you to the msd test in jbosstest (cvs).
//Peter
On 26 Jan, Unmesh S Malvankar wrote:
> Hello people,
>
> I want to work with message-driv
Hey,
the "WebServer" listening on port 8083 is a very basilar HTTP server that is
used to download classes from the server to the client (maybe should be
called, as Rickard suggested, "ClassServer" to avoid confusion).
So you definitely need it ;-)
But why do you want to remove it ?
Simon
> --
Hi!
Indika Fernando wrote:
> The following is my PrimaryKey class and I want to know how should I overide
> the equal() method and whether my code is correct
> can anyone propose me a good site to learn this stuff
The EJB-INTEREST list is a good place to get general EJB questions
answered. T
hi,
we're currently evaluating a couple of application servers and have created
a simple test suite. the first test simply calls one method of a stateless
session bean from multiple threads in one client repeatedly for a given
number of total calls. while weblogic, ias, and the sun reference
impl
Hi!
Sacha Labourey wrote:
> Is it possible to deploy a same CMP bean more than once with different
> remote interfaces? Example:
>
> remote interface A:
> Method A1
> Method A2
>
> Remote interface B extends A
> Method A1 (inherite
Hi!
Anatoly Akkerman wrote:
> While trying to get Sun's PetStore 1.1.1 to run on this, I noticed that
> deployment is incredibly slow.
The deployment code has just recently been vastly improved regarding
this issue. You may want to try with one of the latest CVS snapshots and
see if it improves
Ive found and fixed what appears to be a buy in TxCapsule (1.22) current CVS.
Im new to this XA stuff but here goes anyway:
The call addResource(XAResource xaRes, Xid branchXid, int idxSameRM)
has the following code:
Xid[] xids = new Xid[resourceAllocSize];
System.arraycopy
Yes,
I agree your point of view, and understand but I m afraid that if we have
paid support
we will loose the good online support. But it is not mandatory.
Also, we work too with IBM and BEA and to have support (Phone, ...) they
use procedure, ...
and often we wait more than 1 day, so until now
> Have you tried to comment it out in jboss.jcml?
Yes, but when I start jBoss, an InstanceNotFoundException is thrown, and the
parameter keeps reappearing in jboss.jcml. I also tried to comment it our in
jboss.conf, but it does the same thing (except that it does not reappear).
Jean-Philippe SCH
78 matches
Mail list logo