Re: [JBoss-user] problem with LoginModule

2002-04-16 Thread David Jencks
There are several posts on the db /persistence forum and examples in at least login-conf.xml, jdatastore-service.xml, and db2-service.xml on how to set up a ConfiguredIdentityLoginModule for a datasource. david jencks On 2002.04.17 02:18:33 -0400 Ren Weili wrote: > Hi all, > my old .ear wo

[JBoss-user] problem with LoginModule

2002-04-16 Thread Ren Weili
Hi all, my old .ear worked fine with jboss-3.0.0beta. in jboss-3.0.0RC1, it first complained with NullPointerException. After I have read the user-maillist, I removed all ejb interfaces in .war file. then it complained SecurityException. and in the JBoss Console, it

Re: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread Scott M Stark
There is still a delegation model in the 3.0 classloaders and you will see the same problems in 2.4 as there are incompatible versions of the log4j classes in the ejb-jar with respect to the JBoss server versions. Unlike the servlet 2.3 spec there is no requirement to load the ejb references class

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread David Jencks
a quickstart guide is planned "soon" the cmp2 and clustering docs are already available for quite a while. Deployment has been changing a lot;-) david jencks On 2002.04.16 22:51:01 -0400 Frank Morton wrote: > > -more flexible deployment and classloading system > > I have to admit I'm a little

Re: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread David Jencks
The classloaders in 2.4 are completely unrelated to those in 3.0. Whether you will experience increased "stability" is another question. I think that in 2.4 the server classloader is the mlet service of the jmxri, and it's the parent classloader of every application. Therefore, I would expect th

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Frank Morton
> -more flexible deployment and classloading system I have to admit I'm a little confused on deployment, particularly in a development environment where things change a lot. Are there any docs anywhere for 3.x or are any planned? ___ JBoss-user maili

RE: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham
Can one assume that JB 2.4.4+ would exhibit the same behavior, or have some classloaders been changed from 2.4 to 3.0? At this point, I'm willing to backtrack to 2.4 to gain some stability over some architecture enhancements. Thanks for your assistance, James > -Original Message- > From

RE: [JBoss-user] Re: Tracing classloading of an EJB

2002-04-16 Thread Paul Cody
Sorry if this is a stupid comment, but why can't you just look at the ClassLoader for the class referred to by your EJB to see where it's loaded from? class MyEJB { private void debug() { log.info(MyOtherClass.class.getClassLoader()); } } As for ClassLoaders in general,

Re: [JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread David Jencks
On 2002.04.16 22:22:29 -0400 James Higginbotham wrote: > Ok, so to reiterate, the current (3.0 beta 2) classloader for an EJB > will use whatever it knows about, including jars found in > JBOSS_HOME/lib, right? Yes And, the Verifier Errors I'm seeing on the EJB > side (see previous post from a

[JBoss-user] RE: Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham
Ok, so to reiterate, the current (3.0 beta 2) classloader for an EJB will use whatever it knows about, including jars found in JBOSS_HOME/lib, right? And, the Verifier Errors I'm seeing on the EJB side (see previous post from a few hours ago) are more than likely a conflict from the EJB I've deplo

[JBoss-user] Re: Tracing classloading of an EJB

2002-04-16 Thread David Jencks
On 2002.04.16 21:42:24 -0400 James Higginbotham wrote: > Is there any way to trace the classloader for an EJB to determine where > a class referred to by the EJB is loaded from? I need to know how/why an > EJB that has a newer version of Log4j (1.2beta3 I think) in its EAR is > instead getting the

[JBoss-user] Tracing classloading of an EJB

2002-04-16 Thread James Higginbotham
Is there any way to trace the classloader for an EJB to determine where a class referred to by the EJB is loaded from? I need to know how/why an EJB that has a newer version of Log4j (1.2beta3 I think) in its EAR is instead getting the version distributed by Jboss (1.1.3) instead. Should this actu

[JBoss-user] Declaring finders: problem and work-around

2002-04-16 Thread Richard Kasperowski
This page tells us how to declare custom finders: The examples use the > and < operators, e.g.: studentCount > {0} AND teacherName = {1} I tried something similar in my custom finder, using <= and >=, e.g.: rideDate <= {0} and rideD

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread David Jencks
Big additions to 3 from 2.4 (I may forget something...) -cmp2 -clustering -more flexible deployment and classloading system Maybe not so big additions: -web service support -corba support -improved jca and database connectivity support. Of these the big reason to look at 3 first is perhaps the

Re: [JBoss-user] embedded tomcat 4 issue

2002-04-16 Thread Dmitri Colebatch
Hi, > 2. Because I am trying to get the app to run on both embedded and > remote tomcat configs, I pass in a properties file to InitialContext > when I create it. > ie ctx = new InitialContext(props); > That way I don't have to modify any tomcat scripts to get the right > jnp properties and

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Dmitri Colebatch
> > If > > you're entering fresh, and learning EJB, then I dont imagine the > > differences between 2.4 and 3.0 would bother you too much at first > > I am more concernern with documentation etc., which is very important when > you are getting into something new. The 'book' is for 2.4, yet a lo

RE: [JBoss-user] cmp2-example bug?

2002-04-16 Thread Paul McLachlan
When you fix it can I have the solution. After paying a massive $US10 dollars I would have expected it to work. $10 is the average monthly wage for java developers in many lands > -Original Message- > From: Mike Dougherty [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, 17 April 2002 9:47

Re: [JBoss-user] jar deployment

2002-04-16 Thread David Jencks
Yes. However it is difficult to guarantee that such a jar will be deployed before the classes are needed, if everything is in deploy at jboss startup. It should work fine if you are doing this by hand while jboss is running, just make sure each package is deployed before you copy the next one.

RE: [JBoss-user] embedded tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein
I agree, this is becomming a pain. I went back to the basics with my App. I did exactly what the jbosstest-web.ear does to deploy and lookup ejbs. After I made a couple modifications to my web.xml Most of my session beans started working fine. I started getting NullPointerExceptions (Below)

Re: [JBoss-user] cmp2-example bug?

2002-04-16 Thread Dain Sundstrom
My update of the JBossCMP docs is back on after a delay for JBossOne and bug fixes for the RC1 release. -dain Mike Dougherty wrote: > I'm new to the list, so I don't really know if I am repeating this. I am > going through the example that comes with the CMP 2.0 documentation. > While attempti

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Phil Shrimpton
On Tuesday 16 April 2002 23:35, Dmitri Colebatch wrote: Hi, > Are you entering the world of JBoss from another EJB server, or fresh? Fresh. > If > you're entering fresh, and learning EJB, then I dont imagine the > differences between 2.4 and 3.0 would bother you too much at first I am more c

[JBoss-user] cmp2-example bug?

2002-04-16 Thread Mike Dougherty
I'm new to the list, so I don't really know if I am repeating this. I am going through the example that comes with the CMP 2.0 documentation. While attempting to get the cmp2-example to deploy I had to make the attached changes. I'm still having a little trouble testing the application but have n

Re: [JBoss-user] JBossGui

2002-04-16 Thread Peter Fagerlund
Try this tool and extended it for management screenshoot : http://pollo.sourceforge.net/sitemap1.png sf.net : http://sourceforge.net/projects/pollo/ beutiful for ant and *-service.xml files allready, not so happy with BM xml files tho ;-( ... yet ? ... /peter_f on 16-04-2 22.40, David Jencks a

Re: [JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Dmitri Colebatch
Hi Phil, Are you entering the world of JBoss from another EJB server, or fresh? If you're entering fresh, and learning EJB, then I dont imagine the differences between 2.4 and 3.0 would bother you too much at first (ie, just use 2.4 and get your head around that). However if you really want to

[JBoss-user] jar deployment

2002-04-16 Thread Frank Morton
Can I deploy helper classes by copying them into the deploy directory as a .jar file rather than have them in the "lib" directory at startup time? I'm using JBoss 3.0 RC1. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/li

[JBoss-user] Differences between 2.x and 3.x?

2002-04-16 Thread Phil Shrimpton
Hi, Just entering the merry world of JBoss, mainly for learning and enjoyment. I have Jboss 2.4 installed and running and I have ordered the Jboss 'Book'. With Jboss 3 going into RC stage, I was wondering if I should start with that? If I do is the 'book' relevent? What is the differences

[JBoss-user] logj Verifier Error deploying EJB

2002-04-16 Thread James Higginbotham
Title: Message Ok, so this just cropped up today, and I'm not sure why.. It happens when I deploy an EJB under JB 3.0 beta 2 (March 30th build). Any help is appreciated. We are using a different log4j jar than JBoss, but I've never seen this before and have successfully deployed this EJB on

RE: [JBoss-user] tomcat 4 issue

2002-04-16 Thread James Higginbotham
This is absolutely essential for my project, since I've been seeing the NPE as well but have to produce a product that can deploy under WL 6.1 and JB 3.0. I'm in the midst of porting to JB 3.0 with an application from WL 6.1 and its been quite painful with the various snafus in the beta 1, beta 2,

Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Jules Gosnell
Stephen Davidson wrote: > Greetings. > > I have a local patch I have applied to the Jetty/Jasper project which is > needed to compile my project. When I try to compile locally, the build > seems to hang during the following task; > > jmx-docs-html-plain: > [mkdir] Created dir: /home/jboss

Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Jules Gosnell
Are you on a standalone box ? It looks as if something is trying to resolve a dtd which is not local to the box. Jules Stephen Davidson wrote: > Greetings. > > I have a local patch I have applied to the Jetty/Jasper project which is > needed to compile my project. When I try to compile lo

Re: [JBoss-user] File-system access

2002-04-16 Thread Dmitri Colebatch
Have a look at EXternalContext - http://jboss.org/online-manual/HTML/ch13s126.html hth dim - Original Message - From: "Simon Stewart" <[EMAIL PROTECTED]> To: "Mark Gulbrandsen" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, April 17, 2002 3:05 AM Subject: Re: [JBoss-user] F

Re: [JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread David Jencks
I don't know what is causing the problem, since the dtd is included in jboss distro and is accessible from the url listed, but you should be able to get everything you need compiled from main rather than all. I think this target only is run from all or maybe docs. david jencks On 2002.04.16 16:

Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread David Ward
I had a similar problem when I went from JBoss-2.4.x_Tomcat-3.2.x to jboss-3.0.0RC1_tomcat-4.0.3. I got in the habit of including my ejb home and remote interfaces in my war file, which works fine in the older version. However, in this latest version, I needed to *not* include any ejb interf

Re: [JBoss-user] JBossGui

2002-04-16 Thread David Jencks
EJX died a long time ago from lack of interest. There have been several people interested in developing various kinds of gui for jboss, but none of them is available yet. If you want a tool to help with the jboss dds, try xdoclet (on sourceforge), which will generate them from tags in your sourc

[JBoss-user] JBossGui

2002-04-16 Thread Andrei Svirida
Hi all, does anyone have an idea where to download JBossGui announced at http://www.jboss.org/developers/jboss-projects.jsp? I've tried both downloading the binary distribution and checking out "jboss-all" target per CVS, it seems not to be there. Please cc your answer to [EMAIL PROTECTED]

[JBoss-user] JBoss Build Failure! JBoss 3.0.0RC1

2002-04-16 Thread Stephen Davidson
Greetings. I have a local patch I have applied to the Jetty/Jasper project which is needed to compile my project. When I try to compile locally, the build seems to hang during the following task; jmx-docs-html-plain: [mkdir] Created dir: /home/jboss/jboss-all/connector/output/jmx-api

Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Scott M Stark
There are examples of servlets and jsp pages talking to ejbs in the jbosstest-web.ear in the jboss-all/testsuite/output/lib directory. Look at that for configuration of wars/ejbs. Scott Stark Chief Technology Officer JBoss Group, LLC - Origina

Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein
That makes sense, thanks. When I deploy my own app, I get the same error that I used to get before this whole think came about. CONTAINER EXCEPTION: java.lang.NullPointerException at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:

[JBoss-user] Session problem - Tomcat JSP Examples

2002-04-16 Thread Mark Wolfe
I have just downloaded the JBOSS RC1+Tomcat from sourceforge and tried to use the jsp examples at http://localhost:8080. The jsp examples demonstrating session attributes don't work for some reason. The basic symptom is that the session seems to be recreated for every request that I make. The ma

Re: [JBoss-user] JBoss 3.0 SSL Newbie Question

2002-04-16 Thread Stephen Davidson
Greetings. Thanks to all that replied. I now have this thing talking to the Oracle8 database. -Steve Stephen Davidson wrote: > Greetings. > > Ok, I have checked the JBoss Book (jboss.cml is the file to modify, not > used in 3.0) > Searched the web. > Checked the jboss.org site. > Searched t

Re: [JBoss-user] tomcat 4 issue

2002-04-16 Thread Scott M Stark
It is not configured correctly as it is using out of date custom ejb container interceptors. This is why the example is not included with the JBoss/Tomcat bundle. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message -

[JBoss-user] tomcat 4 issue

2002-04-16 Thread Dennis Muhlestein
I've compiled the lated CVS on Branch_3_0. When I deploy the tomcat-test.ear that is built in the catalina directory, I can access the index page ok. Tomcat seems to be working fine but the executing servlet still can't talk to an ejb. I get: java.lang.NullPointerException at org.jboss.proxy.C

RE: [JBoss-user] File-system access

2002-04-16 Thread Lucas McGregor
I have been wondering about this question too. The main thing is that the EJB spec doesn't allow an EJB to access the local file system, because a bean developer has no way of knowing how or where the application developer and application deployer are going to assemble their system. So if you ac

Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread danch
JD Brennan wrote: > >From: David Hamilton [mailto:[EMAIL PROTECTED]] > > >From JavaWorld > >http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html > > >... in violation of a specification license. ... > > Any idea what that means? Does that refer to reference > code impleme

Re: [JBoss-user] File-system access

2002-04-16 Thread Simon Stewart
And is there a portable way of doing this? Portable between different app servers, that is On Tue, Apr 16, 2002 at 10:30:08AM -0600, Mark Gulbrandsen wrote: > > Maybe I could ask a different question. > > Can I assign a resource so that I can do a jndi lookup? > > Can I configure JBoss to

Re: [JBoss-user] File-system access

2002-04-16 Thread Mark Gulbrandsen
Maybe I could ask a different question. Can I assign a resource so that I can do a jndi lookup? Can I configure JBoss to load an arbitrary jar file and set it to a jndi name such as "jndi:/user/resource1.jar" "jndi:/usr/resource2.jar"? Then, a context lookup would return a JarFile for each of t

Re: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread Dain Sundstrom
This is just a comment from some unnamed executive, and as we all know executives don't know much in a company the size of Sun. Do you know how many executives Sun has?. I am sure that if you ask another unnamed executive, you would get another opinion. Also the specification gives specifical

RE: [JBoss-user] Fleurys basic problem!

2002-04-16 Thread JD Brennan
Title: RE: [JBoss-user] Fleurys basic problem! >From: David Hamilton [mailto:[EMAIL PROTECTED]] >From JavaWorld >http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html >... in violation of a specification license. ... Any idea what that means?  Does that refer to reference

Re: [JBoss-user] Postgres ConnectionManager error

2002-04-16 Thread David Jencks
You have to look in login-conf.xml and set up an entry like this sysdba sysdba masterkey jboss.jca:service=XaTxCM,name=FirebirdDS where - the application-policy name matches the SecurityDomainJnd

Re: [JBoss-dev] Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread Simon Stewart
But not Ironflare, who continue to develop Orion seperately from OC4J. On Tue, Apr 16, 2002 at 10:35:08AM -0500, danch wrote: > They bought Orion a while back. > > David Ward wrote: > > >On a related note - I downloaded "their" OC4J app server (just being > >curious, not really straying from J

Re: [JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Dain Sundstrom
What is the code for the create and post create? What is the serverside exception? What is the primary key type? -dain Peter Shillan wrote: > Hi there, > > I have a really simple bean and test for that bean. I'm building the test gradually. >I've included what I have so far. The problem is

Re: [JBoss-dev] Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread danch
They bought Orion a while back. David Ward wrote: > On a related note - I downloaded "their" OC4J app server (just being > curious, not really straying from JBoss) in mid-March and it appears to > be Orion underneath. All the xml config files are orion-this and > orion-that. > > -- > > ma

[JBoss-user] Postgres ConnectionManager error

2002-04-16 Thread Simon Stewart
Thanks to all of you who offered advice before: I'm now a bit more confident that this can be made to work. I'm still using JDK 1.4, JBoss 3RC1, Postgres 7.2.1 and the pgjdbc2.jar driver on Linux and I now have a "PostgresDS" appearing in my list of MBeans. I've bound this to the JNDI name "Defaul

Re: [JBoss-user] Oracle claims to be our partner

2002-04-16 Thread David Ward
On a related note - I downloaded "their" OC4J app server (just being curious, not really straying from JBoss) in mid-March and it appears to be Orion underneath. All the xml config files are orion-this and orion-that. -- marc fleury wrote: > http://www.oracle.com/corporate/press/index.html?1

[JBoss-user] Oracle claims to be our partner

2002-04-16 Thread marc fleury
http://www.oracle.com/corporate/press/index.html?1279885.html and we didn't even know about it! how about that... these people are incredible, I need someone like that "JBoss partners with AOL and BellSouth to deliver the infrastructure of tomorrow" and say it with a straight face. The world is

[JBoss-user] Re: ALERT - GroupShield ticket number OA29_1018913916_AAQMAIP01_3 wa s generated

2002-04-16 Thread Stephen Davidson
-Steve Are we not allowed to attach files to the mailing list? The are no XML based virii yet, so I thought there would not be a problem. -Steve GroupShield for Exchange (AAQMAIP01) wrote: > Action Taken: > The attachment was quarantined from the message and replaced with a text > file infor

Re: [JBoss-User] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan
Hi again, I forgot to say... I've tried this on the CVS from today (16th April 2002) and on RC1. I run RH7.2 with the Blackdown JVM (JDK 1.3.1). Peter. E-mail is an informal method of communication and may be subject to

[JBoss-user] Entity Bean Test Failure

2002-04-16 Thread Peter Shillan
Hi there, I have a really simple bean and test for that bean. I'm building the test gradually. I've included what I have so far. The problem is that although the bean is created, findByPrimaryKey() never finds any beans and findAll() always returns 0. If I try to create the bean again though,

Re: [JBoss-User] Entity Bean Test Failure

2002-04-16 Thread ObjectWiz
Hi again, I forgot to say... I've tried this on the CVS from today (16th April 2002) and on RC1. I run RH7.2 with the Blackdown JVM (JDK 1.3.1). Peter. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-u

[JBoss-user] Fleurys basic problem!

2002-04-16 Thread David Hamilton
>From JavaWorld http://www.javaworld.com/javaworld/jw-04-2002/jw-0412-opensource.html The most vocal proponent of an open source-compatible J2EE is JBoss founder Marc Fleury, who fears that opening up J2EE may happen too late. "We need the whole of J2EE to be compatible [with open source], and w