-Ursprüngliche Nachricht-
>Von: Unico Hommes [mailto:[EMAIL PROTECTED]]
>Gesendet: Donnerstag, 19. Juli 2001 17:19
>An: '[EMAIL PROTECTED]'
>Betreff: RE: [JBoss-user] ear file manifest classpath problem ?
>I think it would be a handy feature though to
>specify some classpath info in the
Ok, Solved this one. j2sdk1.4 was the culprit. 1.3.1 works a treat.
>
> I am trying to run a simple J2EE app using JBoss-2.2.2_Tomcat-3.2.2.
>
> Deploys Ok, and I can access EJBs from a Standalone java client.
> Intergartion with JSPs is a problem. I keep getting NoClassDefFound
> exceptions o
Hi all,
I've just downloaded JBoss 2.2 + Tomcat 3.2.2 from www.jboss.org.
I had no trouble with configuration of datasources/jdbc drivers.
The first strange thing is that it wouldn't start because I had a JDK 1.3
version instead of a 1.2 one.
I'm now using jre1.2.2.
My war and ja
I am trying to run a simple J2EE app using JBoss-2.2.2_Tomcat-3.2.2.
Deploys Ok, and I can access EJBs from a Standalone java client.
Intergartion with JSPs is a problem. I keep getting NoClassDefFound
exceptions on $Proxy classes. I have worked out that the $Proxy classes
are JBoss generated wra
Hi Dmitri/Graham ,
Thanks for ur Kind reply, Its working perfectly fine
Thanks a lot !!!
- Prashant
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
I have read a couple of previous posts where some
folks were having a problem determining the cause of an
UndeclaredThrowableException. I thought I would share my own
experience. Basically, I was using a value object and forgot to make
it serializable. Once I implemented the java.io.Serial
Yes I have transaction Required flag.
Thanks & Best Regards,
Mustaffa Syed Meerkasim.
Date: Thu, 19 Jul 2001 22:26:48 -0400
From: David Jencks <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
Subject: Re: [JBoss-user] ejbLoad not called even when commit-option is C
Reply-To: [
personally, i would validate prior to getting to the EJB. The overhead of
validating at the EJB layer is really high, and requires, as you have
discovered, some coordination in communicating to the user.
In general, I view the key validation as occuring on the client side, and
then simply confirm
I haven't dealt with HTTP authentication, so I'm not sure if there are any
problems with that. But if you are using the DatabaseServerLoginModule, the
reason is probably that it caches userIDs and passwords. It's been a while
since I've looked at the code, but it might be reading the user ID +
Hi,
You do have all your methods with transaction Required or RequiresNew,
right?
david jencks
On 2001.07.19 22:03:57 -0400 Syed wrote:
>
> I am using JBoss 2.4 BETA(Rel_2_4_0_14).
>
> In the standardjboss.xml file under container configuration for Standard
> BMP EntityBean, I set the commit-o
I am using JBoss 2.4 BETA(Rel_2_4_0_14).
In the standardjboss.xml file under container configuration for Standard
BMP EntityBean, I set the commit-option to C.
But it does not seem to be working.
I think it behaves this way,,
when ejbFindByPrimarykey is called,
it finds the bean from the cach
A call to an InitialContext.lookup() from within an EJB never returns.
External clients do not have a problem. I have placed System.out.println
statements both immediately before and immediately after the lookup, as
well as in a "catch Throwable" clause and a finally block. Only the
before logg
Hello,
I work with JBoss-2.2.2_Tomcat-3.2.2 and J2SE 1.3.1, Windows NT 4 (SP6).
All my Entity EJB's are CMP.
I've implemented JAAS Based Security with FORM based authentication that
uses a JDBC based LoginModule defined in auth.conf.
User logs in with his "username" and password "XX" (using
Hi all,
I'm getting the following error:
[acc_library] javax.ejb.ObjectNotFoundException: Object with primary key
accessprj.Cpublicationpk@3 not found in storage
[acc_library] at
org.jboss.ejb.plugins.jaws.jdbc.JDBCFindEntityCommand.findByP
rimaryKey(JDBCFindEntityCommand.java
Hi,
Lorenzo Resta wrote:
> Shouldn't the getEJBMetaData().getHomeInterfaceClass() return the home interface, or
>does it
> return the class that implements the home interface?
I think it should return the home interface class, and
_not_ the class implementing the home interface.
The EJB1.1 spe
Hi,
Can anyone tell me how to fix the problem outlined below?
Thanks,
Damian
--
FROM: philips.com
DATE: 07/18/2001 08:53:43
SUBJECT: [JBoss-user] My app deploys but lookup from servlet won't
work ! HELP !
Hello,
I
Greetings All,
Just getting started with JBoss 2.2.2 (w/EmbeddedTomcat 3.2.2), and so far I
have been quite pleased. I have Tomcat serving JSP/Servlet requests to IIS,
and the sample EJBs are working as advertised. The whole setup was actually
pretty painless, once I got through a few Microsoft
Dim
I tried your suggestion and it worked a treat.
Thanks for your help.
Norrie
On Thu, 19 Jul 2001, you wrote:
> Norrie,
>
> I tried to do a similar thing a while ago - same deal, postgres/CMP - with
> a similar (if not identical) result. From memory this is caused by
> postgres weirdness.
Have you tried creating your own Exception classes and have your EJB
methods throw those? That way, your clients will know what kind of
Exception was thrown and will have access to any additional information you
put into the Exception. Validating the input upon entry via your EJB
mutato
And we have been testing with Debian Potato. We're now in the process of
installing a production server with Debian Woody on the 2.4 kernel and we
are going to test aggressively once that s set up.
I'll keep the list posted.
Jim
--On Thursday, July 19, 2001 11:50 AM -0400 Lex <[EMAIL PROTECTE
Every time I think I've finally figured out web app classpath resolution, there is a
new surprise. My understanding of the situation follows. I'd appreciate it if somebody
would correct me if I'm wrong.
Given the web app structure:
app.ear
ejb.jar
app.war
app.jsp
WEB-INF/
cla
Hello,
I think the container takes an instance from the pool and gives it the query
directly => quite straightforward.
But saying if this is good or bad is not possible: it depends of your
requirements! It is very easy to make a simple bean (a kind of "ping" bean)
with a home method a calculate
This is sounding like it might be a JBoss bug? I think that what you're
doing seems reasonable. I did a quick search through the archives, and I
found a couple of messages which might be similar to your problem. No
solutions were presented though, and I didn't see a bug logged on it.
If you ha
Hi,
So I want my business entity objects to be consistent before they are
commited. I figured this couold be done on the ejbStore() call when a
transaction is about to be commited. At this time I could check, for
example, if a string property is too long. If this fails I can
setRollbackOn
How can I get the initial Transaction from the JBoss?
Flora
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lists/listinfo/jboss-user
Can somebody point me any JMS materials specific for JBoss and
some Hello example? I have no information on that. Does JBoss have JMS
server? Are there any config files involved? I need to send my first
message in JBoss. Thanks in advance, Boris.
___
J
If I understand what you're saying, I think you're trying to access
EJBs without knowing what their names and home and remote interfaces are at
compile-time by using reflection at run-time. Is this what you're trying to
do?
---
Michael R. Maraya
> --
> From: Lorenzo Re
Alexander,
I know that somebody has to implement an interface.. That's not the point.
I was simply trying the find the name of the home interface.
It would be nice if JBoss would publish the name of the home interface in
JNDI.
Shouldn't the getEJBMetaData().getHomeInterfaceClass() return
Hi,
> Well, I wonder if it can work, I could find no way in the jdbc spec to
> create a new blob! So maybe you could read the picture but I
> don't know
> how JAWS could insert a new row. I hope I'm wrong, please
> tell me how.
Well... In case of Firebird 0.9.4 + InterClient 1.6 this works f
IIRC, only EJBs or classes residing in the same JVM as the EJB
server may access DataSources defined the EJB server. There have been
several posts in this mailing list regarding this. If the archive search is
working, try looking up "DataSource client".
---
Michael R. Maraya
> --
> Hmm, that does seem strange that you can serialize the home & pk, but not
> the handle.
Yes, it does seem strange which is why I am assuming there is something more
fundamental that I just don't yet get.
> I'm afraid I have never used EJB handles, so I won't be much
> help there. Every time
jboss-user,
I have just install JBoss-2.2.2 on my linux machine. Set everything up. compiled the
interest sample, created the jar and put it into the deploy directory.
Now I can run the (stand alone app)client and everything works, it returns the proper
value.
So what I did was take the client
Hi,
On further consideration of what you are asking, I think it depends
entirely on the capabilities of your db driver and how it accesses db blob
fields. I can't find any official way to create an object implementing
java.sql.Blob oneself, just to get it from a result set and set a parameter
to
Hi,
I'm probably misunderstanding what you want, but are you familiar with
metaclasses, aspect oriented programming, generative programming, and the
stuff at e.g. http://www.cs.utexas.edu/users/schwartz/?
david jencks
On 2001.07.12 03:45:48 -0400 joel cordonnier wrote:
> Hi !
>
> I don't know
Hi,
Well, I wonder if it can work, I could find no way in the jdbc spec to
create a new blob! So maybe you could read the picture but I don't know
how JAWS could insert a new row. I hope I'm wrong, please tell me how.
Thanks
David Jencks
On 2001.07.12 04:31:21 -0400 Burkhard Vogel wrote:
> Hi,
FYI,
We've seen very strange memory problems with RedHat 7.1 + JDK 1.3.1 as well
that did not occur on Win2k or RedHat 6.2.
Regards
Bill
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Lex
Sent: Thursday, July 19, 2001 11:50 AM
To: [EMAIL PROTECTED]
Su
Lorenzo,
1. Actually the *real* name is the "$ProxyN".
JBoss uses dynamic proxy to construct a
sort of stub for your EJB client.
The returned "$Proxy" class implements
your HomeInterface.
2. You HomeInterface is the *interface*.
So anyway, something should implement it.
What did you expect?
Hi Burkhard,
The problem is that i don't know the bean's name. The list() method returns
an enumeration of JNDI names found in the given context. If you have deployed
beans in the context, you
can get at the name and classname through the NameClassPair class.
I have also tried your approach :
In the config file jboss.jcml, I configure a database pool for Oracle, I
give the Poolname, driver, url, username, password. I start the JBoss,
everything is fine. Now the problem is I try to get the DataSource from
this registered pool, then I can get the connection from the DataSource.
(In a r
Hello,
I have wroten an entity EJB that implements NotificationListener of API
javax.management.
It register itself as a listener to a notification that occurs after one
minute.
It seems to work but all entities that have previously register themselves
wake up each time a new notification is send
On Thu, Jul 19, 2001 at 03:27:33PM +0200, Torsten Terp wrote:
> Hi,
>
> Are you saying that this should work:
>
> Contents of ear:
>
> META-INF/MANIFEST.MF
> META-INF/application.xml
> myweb.war
> myejb.jar
> mylib.jar
>
> Where MANIFEST contains:
>
> Class-Path: ./mylib.jar;
>
> and that yo
Yep - we are using RedHat Linux 7.0
-Mike
> I think it's more of a Linux with JDK1.3.1 thing, assuming
you're>
> using Linux, of course. As far as I know, there were no major
> memory-related architectural changes between 1.3 and 1.3.1.
---
Michael R. Maraya
>> --
>> From: Lex[SMTP:[E
Valid commit options are A, B, C and D, although I believe D is only
available if you compile the sources yourself.
---
Michael R. Maraya
> --
> From: Luke Studley[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Thursday, July 19, 2001 10:45 AM
Hi,
this is a java "feature", if you can try substituting the blank with %20% in
JBOSS_HOME, tell what happens (or an dos try the mylong~1 stuff).
Burkhard
- Original Message -
From: "Sternagel Annegret (PN-SYS/DAS)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001
Hi,
not sure about the return values of list() but you can do:
Object obj = new InitialContext().lookup(BeanName);
EJBHome home =
(EJBHome)javax.rmi.PortableRemoteObject.narrow(obj, EJBHome.class);
log.debug("HomeInterface: " +
home.getEJBMetaData().
Well yes, I was under the impression that this should work. However reading
some of the comments in the manual makes me suspect otherwise. It talks only
about specifying classpath info in the ejb-jars' and web-wars' Manifest
files. Makes me wonder though. I think it would be a handy feature thoug
Norrie,
I tried to do a similar thing a while ago - same deal, postgres/CMP - with
a similar (if not identical) result. From memory this is caused by
postgres weirdness. Someone correct me if I'm wrong, but its got
something to do with postgres requiring a new? transaction for
reading/writing b
As of JBoss 2.2.2, I believe there is at least one bug in
LRUCachingPolicy and/or related classes. The bug I've encountered produces
the "INSERTING AN ALREADY EXISTING BEAN" exception. I was able to
work-around it by setting commit option to C. I intend to look into it
further and hope
This transactional behavior can be modified. Please see
http://www.jboss.org/documentation/HTML/ch06s08.html for more details.
---
Michael R. Maraya
> --
> From: Luke Studley[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PROTECTED]
> Sent: Wednesday, July 18, 2
Hi Luke,
> Would it be true to say that JBoss implements option A? I am
> certainly seeing this type of behaviour with my session wrapped
> entity beans, i.e. no ejbLoad() called for new Transactions after
> the initial find/ejbActivate combo. ...
Yes, the default configuration for JBoss is comm
Option A is the default commit-option specified in
standardjboss.xml. You should change this to C. See
http://www.jboss.org/documentation/HTML/ch06s08.html for more info.
---
Michael R. Maraya
> --
> From: Luke Studley[SMTP:[EMAIL PROTECTED]]
> Reply To: [EMAIL PRO
I think it's more of a Linux with JDK1.3.1 thing, assuming you're
using Linux, of course. As far as I know, there were no major
memory-related architectural changes between 1.3 and 1.3.1.
---
Michael R. Maraya
> --
> From: Lex[SMTP:[EMAIL PROTECTED]]
> Reply To: [EM
Hi,
Does someone know how to get the thre "real" class names of EJB's looked
up through a given context?
Right now i try to look up all name in a specified context like this:
myContext = new InitialContext();
theNames = myContext.list("/company/applications");
while(theNames.ha
Thanks Frank and Burkhard,
You are dead right, commit
option C spot on. Found it in the standardjboss.xml
file - somewhere I haven't had to explore until now.
Thanks heaps - I wasn't an advanced enough user to
find that - and for some reason searches on the list archives are not
workin
Hello,
we are still using jboss 2.1. With this version we get a
MalformedURLException during startup if there is a blank in the jboss
installation path.
Is this a known problem and fixed in a newer jboss version ?
Any suggestions appreciated.
Ciao
Annegret
[CorbaService] java.net.MalformedURLEx
I have a simple entity bean which is used to hold serialized objects. It
worked
fine with InstantDB but fails with postgresql. I tried upgrading to
postgresql
7.1.2 from 6.5.3 but that did not fix the problem. I have written a
small bean
to reproduce the problem which is listed below.
Any help
Hi,
have you looked into server.log in log/ dir?
Output is there?!
Burkhard
- Original Message -
From: "Jean-Noël Heyraud" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 2:55 PM
Subject: [JBoss-user] CMP 2.x SQL trace
> Hello
> is there a way to see the generat
Hi,
Are you saying that this should work:
Contents of ear:
META-INF/MANIFEST.MF
META-INF/application.xml
myweb.war
myejb.jar
mylib.jar
Where MANIFEST contains:
Class-Path: ./mylib.jar;
and that you are now able to see the classes in mylib.jar from the myejb.jar??
I cant get it to work :-( a
By default this is logged in server.log.
/Lennart
- Original Message -
From: Jean-Noël Heyraud <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 2:55 PM
Subject: [JBoss-user] CMP 2.x SQL trace
> Hello
> is there a way to see the generated SQL statements from the
Thanks for the guidance. I moved the MDBs into their own module and now
the messages are received (onMessage() is called) with no problem. That
left me with the issue that within the onMessage() method there's no
principal,
so calls to other EJBs fail. For now, I've programatically established a
p
Hi,
commit option C MUST do the job, if not I guess you are misconfigured. Where
and how do you set your commit-option to C how do you deploy your beans
(ejb-jar/jboss/jaws)?
Burkhard
- Original Message -
From: "Luke Studley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July
Luke,
search the previous posts for the following topic "HOW TO DISABLE
ENTITY-BEAN CACHING". You can read about the steps I had to take in order
to eliminate caching with option-C. I still think setting the container to
"option-C" alone should have disabled caching...does anyone know if there i
I had the same prob, You only have to change the web.xml that is inside of
the .war. I put the dtd in the htdocs of the apache default dir. and used a
doctype like this:
mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 19, 2001 6:14 AM
To: [EMAIL PROTECTED]
Subject: Re: RE: Re. Re: [JBoss-user] Unkn
Hello
is there a way to see the generated SQL statements from the container (I'am
using MySQL)?
i've tried to set true into the jaws.xml file without any
success.
Jean-Noel
___
JBoss-user mailing list
[EMAIL PROTECTED]
http://lists.sourceforge.net/lis
Hello
I think this relates exactly to the same problem I am having, see my post
from about 18 hours ago below. When I went back to read the ejb1.1. spec it
seems to suggest that there are 3 different ways a container may behave
between transactional calls on a bean (see mail below), it appears to
This is due to an error in the Postgres Driver. As Jboss writes it as an
Int but reads it as a boolean, it is written as a "1" or "0" but the
driver only accepts "t" or "T" when getting the resultset back as
boolean. An easy fix to this problem is to change the ResultSet.java
file in package org.p
Hi,
$TOMCAT_HOME/conf/web.xml doesn't get processed - its just a simple
example (from memory). You want to change the one in test.war (sorry
about mentioning tomcat-test.war - I thought I'd seen that in one of the
error messages). So change the one that is in test.war, and make sure
that you up
Hello folks,
I've a dirty exception during startup of JBoss 2.2.2 and Tomcat 3.2.2
This exception occurs only if use a copy of jboss.jcml (without any
changes from jboss/conf/default) in the jboss/conf/ directory.
Try out in a "clean" environment without any deployed files.
The Exception is a F
Hermann,
I'm running PostgreSQL 7.1.2 with JBoss 2.2.2 with
sucess of CMP beans creating tables upon deployment
but I too have had difficulty with the Boolean
datatype. I've gotten it to insert and update 1 for
true and 0 for false but when the server (JBoss) is
restarted it writes all boolean f
Hi,
this would mean commit option C for your container.
Burkhard
- Original Message -
From: "Luke Studley" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:29 AM
Subject: [JBoss-user] JBoss Entity Bean Transactions
> Hi all
>
> In the ejb 1.1 Spec (pdf) 9.5.4
Hi,
frist of all it should read the data with an ejbLoad, but why aren't you
handling R and U in one bean? Well it'll get a bit thick, but handling data
in one table is usually done with one bean to avoid your issue.
Burkhard
- Original Message -
From: "Syed" <[EMAIL PROTECTED]>
To: <[EMAI
We found the same problem during stress testing with JBoss
2.4 Beat/ Tomcat 3.2.2 JDK1.3.1. We had another amchine with JDK 1.3.0
that did not have the problem. We Downgraded the problem machine to 1.3.0
and the problem went away. Is there some explaination for this? Is
this a JBoss vs.
Hi,
made by Ijonas Kisselbach:
Step 1. You should have a getConnection() method that returns a
java.sql.Connection object, which is retrieved through Context.lookup(). We
use a base class with the following method:
protected Connection getConnection() throws SQLException {
Connection conn
Hi,
check your network configuration on machine B, is there a default gateway
configured? are there two network interfaces in either of the machines?
Burkhard
- Original Message -
From: "Liang Sun" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 7:51 AM
Subject: [
Hi,
why would you want to do this??? if you want synchronous use direct calls,
but (hey, weren't you the one with this load balancing policy???) you can
send it to a method in bean-A which has a handle to the user and the method
would just send it out?!? (Havn't tried however).
Burkhard
- Orig
Hi Dmitri,
Pls tell me in which file should I change the line
as shown below:
Should I change it in test.war file(containing web.xml) which is in
C:\tomcat\webapps directory Pls note that I do not have tomcat-test.war
file !!!
I have changed it in c:\tomcat\conf\web.x
Hi,
better not try that, you will run in all sorts of trouble, better just
include your oracle driver into the JDBC-Provider section.
Burkhard
- Original Message -
From: "Heiko Dittrich" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, July 19, 2001 12:16 PM
Subject: AW: [JBoss-
Hi all,
i'm currently using jBoss 2.2.1 and postgreSQL 7.0.1. I deploy my bean as
CMP but when i try to create one, the database throws error back :
ERROR: Attribute 'valide' is of type 'bool' but expression is of type
'int4'
valide is a field in the bean : type boolean
valide is also a co
Hello,
When I deploy a simple Entity bean,
I get the following error :
[Auto deploy] org.jboss.ejb.DeploymentException: Could not deploy
file:/C:/bin/J
Boss-2.2.2/tmp/deploy/Default/ejb_Partner.jar,
Cause:org.jboss.ejb.DeploymentExc
eption: Bean PartnerBean has PK of type java.lang.String, so it
Hello,
you
might try
oracle.jdbc.xa.client.OracleXADataSource
-Ursprüngliche Nachricht-Von:
[EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]Im Auftrag von Luke
StudleyGesendet: Donnerstag, 19. Juli 2001 11:37An:
'[EMAIL PROTECTED]'Betreff: [JBoss-user] 2.4BETA
Oracle JDBC
Wehave two entity beans, we use one entity bean for updation which updates a
few tables and call it U
The other entity bean just loads data only, let's call it R.
When we use the bean U to update the data, the data gets updated.
Then we call the bean R to read the data. ejbLoad in R is called the
Hi,everybody.
new to jboss maillist.i will try my best to ask and resolve problems.
I got a problem when i am trying to run a Container Management
Persistence entity EJB.
This EJB is related to a table in a database(MS Access,jdbc:odbc).and
there is a session bean act as the client of the entitybe
Hi all
I am attempting to get my
application working on 2.4 BETA, initially this
involves setting up my JDBC connection.
For 2.2.2 my mbean entry looks like
MyDS
Doh! Done it so many times before and forgot it completely this time. Now it
works. Thanks!
Burkhard Vogel wrote:
> Hi,
> you need to include your driver in the JDBC-Provider section of jboss.jcml!
> Burkhard
> - Original Message -
> From: "Nicolas Serrador Ivering" <[EMAIL PROTECTED]>
Hi,
I want to sent
request through Session bean-A to MDB-B. This MDB (B) in turn call another
session bean-C which do some business calculation and return the result to User.
user will have to wait until it gets result.
In short I want to
achieve synchronous behavior through MDB.
can w
I am facing bean caching problem in JBoss 2.2.2
with tomcat. During development, I have to do changes in the
bean. But when I redeploy the bean after modification, the modified code is
not effective, even though the newest jar file is deployed in the deploy
folder. This is happening for se
Hi,
Next time you're online (when you get this message I guess), download the
dtd from sun - "http://java.sun.com/j2ee/dtds/web-app_2_2.dtd"; (from the
doctype defn). This is where I get a bit hazy, you'll need to save a
local copy of it somewhere. Now I'm guessin thtat putting it in the same
d
87 matches
Mail list logo