RE: [JBoss-user] unable to find login configuration file

2001-08-09 Thread Rune Hamnvik
Hello You need to specify the java.security.auth.login.config parameter to Java. Try adding the folling to the java command in the bin/tomcat.sh script: -Djava.security.auth.login.config=file:///home/JBoss-2.2.2_Tomcat-3.2.2/jbos s/client/auth.conf Of course, you need to change the path. Rune H

[JBoss-user] EntityBean Reference Times out..

2001-08-09 Thread Ferguson, Doug
I have an array of bean references that I store in a session bean.. I can't even get through an entrie request by the time I am getting Transaction Rollbacks for time outs... What can cause the bean references to time out so fast? dl. ___ JBoss-user

RE: [JBoss-user] automatic datasource generation...

2001-08-09 Thread Ferguson, Doug
So we only have one server farm... all with the same app that handles all clients. The server farm just has a load balancer in front of it... The configuration info comes from the db... I have a DBConnectionFactory which queries jndi for DataSources. It grabs the first available datasource and lo

RE: [JBoss-user] Wierd RollBack Exception

2001-08-09 Thread Ferguson, Doug
I would be nice if by default JBoss would alert the user when something is set for rollback..maybe a trace for that? It is a real pain to track down the actual EJBException. -Original Message- From: Ole Husgaard [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 11:55 PM To: [EMA

Re: [JBoss-user] need sample run.bat file to run Jboss2.2 in windowsme

2001-08-09 Thread Keerthi P
Hi, Jboss2.2 ran in my windows ME without any problem, though it says syntax error at the start, it continues to load and everything is just fine for me. keerthi --- PiFen Ellwood <[EMAIL PROTECTED]> wrote: > Hi, > > If anyone installed new jboss2.2 on WindowsME without > syntax error, please

[JBoss-user] Simple home.findAll() call fails with NPE: Method not found

2001-08-09 Thread David M. Karr
I have a simple application with three entity beans. I successfully compiled it, jared it, and deployed it to JBoss (2.2.2). I watched it create the tables for all three entities. Now I'm trying to write a simple client, which will just call "findAll" on one of the entities. Execution of the c

[JBoss-user] EJBLocalObject

2001-08-09 Thread Dennis Huang
Has anyone heard about it? What is it?  I found it from Mastering EJB II in TheServerSide.com, but I couldn't find it in API.   Dennis   = import javax.ejb.*; /** * This is the local interface for AccountBean. * * This interface i

Re: [JBoss-user] Wierd RollBack Exception

2001-08-09 Thread Ole Husgaard
Hi, If you don't mind lots of debug output, you can change the constant named "trace" near the top of src/main/org/jboss/tm/TxCapsule.java to true, and recompile. That should tell you just about everything transaction-related going on in JBoss. Best Regards, Ole Husgaard. "Ferguson, Doug" wro

Re: [JBoss-user] Running JBoss from Source Code

2001-08-09 Thread David Jencks
0. Please don't cross post especially not user questions on dev. 1. I personally don't recommend running from an IDE. If you want to, consult the documentation for how to run from JBuilder and VAJ, and maybe NetBeans??? I'd try the following first anyway to make sure you know what is going on. 2

Re: [JBoss-user] need sample run.bat file to run Jboss2.2 in windowsme

2001-08-09 Thread Devraj Mukherjee
Why are you having memory problems? Devraj At 17:10 9/08/01 -0700, you wrote: >Hi, > >If anyone installed new jboss2.2 on WindowsME without >syntax error, please send me a copy of your >run_with_tomcat.bat and run.bat. > >Thanks in advance. > > >= >PiFen Ellwood > >__

Re: [JBoss-user] Transactions and AutoCommit problems

2001-08-09 Thread David Jencks
I don't see anything definitely wrong but there is one peculiarity: putting jndiName=jdbc/Oracle only puts this as a key in the ObjectName for the mbean. The PoolName attribute is what your datasource gets bound to in jndi - so you should be using DefaultDS for your datasource name. Is this wha

Re: [JBoss-user] automatic datasource generation...

2001-08-09 Thread David Jencks
There's a README in the patch file along with a test showing it in action. I'm confused about your approach. Where does the configuration info come from for each new customer? Where is it kept persistently? How is each customers db set up? I would really like to know. Here's my idea about how

[JBoss-user] need sample run.bat file to run Jboss2.2 in windowsme

2001-08-09 Thread PiFen Ellwood
Hi, If anyone installed new jboss2.2 on WindowsME without syntax error, please send me a copy of your run_with_tomcat.bat and run.bat. Thanks in advance. = PiFen Ellwood __ Do You Yahoo!? Make international calls for as low as $.04/minute wi

[JBoss-user] Transaction timed out --I need help!

2001-08-09 Thread Faisal Abdallah
Hi all I am using a BMP which carries a lot of pooling. After about 5 min Jboss freezes and my connection gets hung forever: [[TIME] Transaction XidImpl [FormatId=257, GlobalId=a//1127, BranchQual=] timed o ut. status=STATUS_ACTIVE [TIME] Transaction XidImpl [FormatId=257, GlobalId=a//1128, Bran

Re: [JBoss-user] [unit testing]

2001-08-09 Thread Michael Jara
I see, I didn't really understand what you were asking. Right, I deploy the whole thing and then run the tests. However, it is still a unit test, because I am testing unit functionality of the code (as opposed to system functionality.) I think that only in a language like Java, where each class

Re[2]: [JBoss-user] [unit testing]

2001-08-09 Thread Mikhail Akopov
Hello David, Friday, August 10, 2001, 2:56:51 AM, you wrote: DJ> I wondered if your automated test procedure included deploying the beans, DJ> testing, and undeploying - it sounds like the answer is no, you deploy DJ> everything by hand, then run the tests. More than that - those tests won't hel

Re: [JBoss-user] [unit testing]

2001-08-09 Thread David Jencks
I wondered if your automated test procedure included deploying the beans, testing, and undeploying - it sounds like the answer is no, you deploy everything by hand, then run the tests. Although you can use something like the "Deploy" test to deploy things (see e.g. banktest) I'm not sure how scal

[JBoss-user] unable to find login configuration file

2001-08-09 Thread Carlos Ferrão
Hello list, I'm trying to use JAAS based security in JBoss and I've followed the example in jboss site. I'm using the UsersRolesLoginModule. Everything works ok but when I try the same example running Tomcat and JBoss separated, I get a "Unable to find login configuration file". I

[JBoss-user] Jikes with embedded tomcat service

2001-08-09 Thread Ian Butcher
Hi, I would like to speed up our jsp compilations so I have been trying to get Tomcat to use Jikes. I have search the usual places and I've tried to uncomment the section in tomcat\conf\web.xml to allow jikes to compile the jsps. This doesn't seem to have made the difference I would have imag

RE: [JBoss-user] [unit testing]

2001-08-09 Thread Mike Davis
There's a good article from JavaWorld at http://developer.java.sun.com/developer/technicalArticles/J2EE/testinfect/ that talks about unit testing EJB's and provides some code including a servlet to exercise unit tests. Mike Davis > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[

[JBoss-user] Wierd RollBack Exception

2001-08-09 Thread Ferguson, Doug
What kind of situations cause this type of error? At first glance I was thinking that an EJBException must have been thrown prior that marked the transaction for rollback. I can't find any EJBException that could have been thrown. Is there any good way to debug this? d. java.lang.Run

Re: [JBoss-user] [unit testing]

2001-08-09 Thread Andrej Koelewijn
Toby Hede wrote: >does anyone have any resources regarding unit testing within JBoss? I find >JUnit indispensable, but I am not sure how to implement this effectively >within JBoss. > >cheers > >/t >toby hede > Hi, I use the following ant script to deploy my beans and start unit testing in the b

[JBoss-user] Is unchecked access implemented for unauthenticated users?

2001-08-09 Thread Paul Austin
I am implementing a custom LoginModule on JBoss 2.4 BETA(Rel_2_4_0_26) which is working fine and authenticating users and assigning roles. I am no experimenting with unchecked access an unauthenticated users and am getting a SecurityException ([Image] Insufficient method permissions, princip

RE: [JBoss-user] 420628 Handles "remember" their container.

2001-08-09 Thread marc fleury
|I don't see how this can work since the handle isn't |used until after you obtain the initial context and |the initial context has the host & port of the jndi service. it stores that information, go read source marcf | |So If I point the initial context at one machine then |how does the handl

[JBoss-user] how to run JBoss with Tomcat?

2001-08-09 Thread Herve Tchepannou
Title: how to run JBoss with Tomcat? I've downloader JBoss-2.4 with Tomcat-3.2.3. I run the script run_with_tomcat.bat but, it looks like tomcat is not started when I go to http://localhost:8080 in my browser, nothing hapens In jboss/log/server.log, there is no mention of Tomcat any clue wha

RE: [JBoss-user] JBoss via Applet

2001-08-09 Thread Sacha Labourey
Hello Tim, > Just quickly, I do this: > > cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co > jboss > > to download the latest CVS snapshot don't I? > > Me and CVS have a shaky relationship ;-) I *exactly* know what you mean ;) I know a easier way : go there http://www.jboss.org/zip_archiv

Re: [JBoss-user] JBoss via Applet

2001-08-09 Thread Tim Yates
Just quickly, I do this: cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss co jboss to download the latest CVS snapshot don't I? Me and CVS have a shaky relationship ;-) Cheers, Tim. - Original Message - From: Tim Yates <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, Au

Re: [JBoss-user] Any WebServices function/sample available in JBoss?

2001-08-09 Thread Nicolai P Guba
On 08 Aug 2001 12:06:12 -0700, Jonathan Lee wrote: > Bea weblogic6.1 has the new feature "Web Services". > I like to know whether jboss (The bea killer) has that > feature or not. If yes, is there any sample I can get? What excactly does this feature do? -- Nicolai P Gubahttp://www.gnu.or

Re: [JBoss-user] [unit testing]

2001-08-09 Thread Michael Jara
In standalone JBoss 2.2.2, I don't actually do anything special with the EJBs to use JUnit. To test, I deploy my jar or ear as usual. I then run my JUnit test class, which is just a normal JUnit test class, but with code for accessing EJBs as a client. This can run from any machine with access

Re: [JBoss-user] JBoss via Applet

2001-08-09 Thread Tim Yates
Will do :-) Thanks Sacha! I'll report our results back here :-) - Original Message - From: Sacha Labourey <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, August 09, 2001 4:53 PM Subject: RE: [JBoss-user] JBoss via Applet > Hello, > > Can you try with one of the lastest CVS

Re: [JBoss-user] 420628 Handles "remember" their container.

2001-08-09 Thread Philipp Meier
On Thu, Aug 09, 2001 at 08:50:53AM -0500, Ferguson, Doug wrote: > I don't see how this can work since the handle isn't > used until after you obtain the initial context and > the initial context has the host & port of the jndi service. > > So If I point the initial context at one machine then > h

[JBoss-user] JBoss via Applet

2001-08-09 Thread Tim Yates
Hiya JBoss fans =) We are trying to get an applet to call jBoss (via a webpage), but whenever we try, we get the following exception in the java console: TNSMapEditorTreeModel: Can't look up TNSMapBean. java.security.AccessControlException: access denied (java.io.FilePermission \C:\JBoss-2.2.2

[JBoss-user] help regarding JAAS security

2001-08-09 Thread Harish Dontineni
    hi!       can someone please help me out with this confusion or     atleast tell me wher can i post this question       i need a small clarification regarding JAAS     my understanding of jaas is i)Authentication of a user can be done by implementing the        LoginModu

RE: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Paul Austin
Federico, You do not need to use the sun j2ee.jar file as this contain their reference implementation as well as the required ejb classess. If you use the jboss\client\jboss-j2ee.jar instead this contains the packages required by jboss for ejb, jms, resource and transaction. This file is only 58k

RE: [JBoss-user] automatic datasource generation...

2001-08-09 Thread Ferguson, Doug
Yeah... That would be great. I'd like to see your implementation and how it differs from mine. d. -Original Message- From: C Murphy @ Intechtual [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 9:18 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] automatic datasource genera

Re: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Federico Vesco
Hi I think it's better to point out this fact: I had to include also the j2ee.jar file. If not the application doesn't work. This seems to me really strange and I think I have something wrong: I mean, j2ee.jar is 9M sized and I don't think this was the purposal of Sun when Java Web Start wa

RE: [JBoss-user] RE: Automating Entity Bean Creation

2001-08-09 Thread Martin Welch
Title: RE: [JBoss-user] RE: Automating Entity Bean Creation Is there a (free, open source) tool that you can point to a table in an existing database that will produce the necessary classes and descriptors? Martin -Original Message- From: Craig Johannsen [mailto:[EMAIL PROTECTED]] S

RE: another AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Ivan Bolcina
Title: RE: another AW: [JBoss-user] JBoss and Java Web Start What about jaas configuration file on client? -Original Message- From: Jan Heise [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 09, 2001 3:01 PM To: [EMAIL PROTECTED] Subject: another AW: [JBoss-user] JBoss and Java Web

Re: [JBoss-user] automatic datasource generation...

2001-08-09 Thread C Murphy @ Intechtual
Hi, I created a test MBean that does this a few weeks ago. It basically takes all of the connection properties (url, user, pw, etc.) and then creates an org.opentools.minerva.jdbc.xa.wrapper.XADataSourceImpl, which creates the DataSource in jndi. I built it on a plane on my way to Las Vegas

RE: [JBoss-user] automatic datasource generation...

2001-08-09 Thread Ferguson, Doug
Well, With the patch there is still maintenece, for every client the dbas have to add the information to the database, then there is still a rquirement to create the mini-jcml and then promote to all the application servers, which will inevitably grow in number. With my code, the application can

[JBoss-user] RE: auth.conf

2001-08-09 Thread jamal . noorzaie
Nausheen: The auth.conf file is used as part of JASS authentication in JBoss. You don't need to change this if you are not using any type of authentication e.g. BASIC, etc. There is a very good article/example at: http://www.jboss.org/documentation/HTML/ch09.html Read the whole article and you w

Re: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Federico Vesco
It worksI included all the .jar files and signed them. Thank you. Federico >From: Chris Kimpton <[EMAIL PROTECTED]> >Reply-To: [EMAIL PROTECTED] >To: [EMAIL PROTECTED] >Subject: Re: AW: [JBoss-user] JBoss and Java Web Start >Date: Thu, 9 Aug 2001 06:34:04 -0700 (PDT) > >Hi, > > > Which .jar

RE: [JBoss-user] 420628 Handles "remember" their container.

2001-08-09 Thread Ferguson, Doug
I don't see how this can work since the handle isn't used until after you obtain the initial context and the initial context has the host & port of the jndi service. So If I point the initial context at one machine then how does the handle redirect me to another? d. -Original Message- F

RE: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Fábio Silva
Hi There Federico, For what it seems, you need to include the ejb.jar also. A faster way would be to include all the .jar files that are in $JBOSS_HOME/client. The good guys at jboss.org selected all of them carefully. Fabio > -Original Message- > From: [EMAIL PROTECTED] > [

AW: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Jan Heise
sounds like jboss/client/ejb.jar. what you have to include depends on the features you are using in your application. all jars in client/ are possible candidates. i normally include jnp-client.jar, jbosssx-client.jar, jboss-client.jar and ejb.jar for my (not very spectacular) apps. jan -- Jan H

Re: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Chris Kimpton
Hi, > Which .jar files i need to include? You need all the jars/files in the jboss/client directory. You are currently getting errors for classes in jboss-j2ee.jar HTH, Chris = Need somewhere to Live in London - http://freeflats.com __ Do Y

[JBoss-user] securing the access to some Beans

2001-08-09 Thread David Treves
Hi,   I have just began using JBoss and I wish to understand how to define users and roles. I have documentation about how to do it in Weblogic. As I understand, the methods of defining roles are unique to each application server.   Thanks, David Treves.  

Re: AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Federico Vesco
Well ,I included jnp-client.jar and it worksuntil the next exception: Exception occurred during event dispatching: java.lang.NoClassDefFoundError: javax/ejb/EJBHome at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:486)

[JBoss-user] RE: freezing

2001-08-09 Thread Robert Schulz
Boris, I don't want to get into this shit fight - jBoss (as any piece of software) might have bugs in it, but not enough to be obusive on this list. And threads on the newsgroup to use some other server are a waste of everyone's reading time. Back to the question below - we use jBoss2.2.2 stand

AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Jan Heise
sounds like you should include jboss/client/jnp-client.jar in the application's classpath. hth, jan -- Jan Heise / Tel: +49-163-4803237 / E-Mail: [EMAIL PROTECTED] -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]Im Auftrag von Federico Vesco Gesendet: Donners

another AW: [JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Jan Heise
sorry, forgot what java web start is. perhaps my first hint is not very useful then. i don't know how you can set the classpath for applications distributed via web start but it should always be possible to extract jnp-client.jar and repackage it with your own app.jar. hope this is more useful to

RE: [JBoss-user] 420628 Handles "remember" their container.

2001-08-09 Thread marc fleury
yes marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Ferguson, |Doug |Sent: Wednesday, August 08, 2001 11:27 PM |To: JBoss User (E-mail) |Subject: [JBoss-user] 420628 Handles "remember" their container. | | |I just saw the following comment in th

[JBoss-user] securing the access to some Beans

2001-08-09 Thread David Treves
Hi,   I have just began using JBoss and I wish to understand how to define users and roles. I have documentation about how to do it in Weblogic. As I understand, the methods of defining roles are unique to each application server.   Thanks, David Treves.  

[JBoss-user] ejbFindByPrimaryKey intercepted?

2001-08-09 Thread Jim Downing
Hi all, hopefully a quick question: - Are calls to an entity bean's ejbFindByPrimaryKey method intercepted by JBoss for cached beans? My ejb code (PersonEJB.java): - ... public String ejbFindByPrimaryKey(String key) throws FinderException { System.out.println("In ejbFindByPK(string)");

Re: [JBoss-user] (remote) debugging of servlet

2001-08-09 Thread Luke Taylor
"Scheil, Sven" wrote: > > hi, > > i'm using apache and jboss2.4.0/Tomcat3.2.2 and would like to know how to > configure Tomcat for (remote) debugging. i know, i have to set > -Xdebug-parameter, but don't know where. may in the jboss.jcml??? > > i want to debug my servlet from kawa. > > thanx

[JBoss-user] JBoss and Java Web Start

2001-08-09 Thread Federico Vesco
Hi. I'm trying to use a stand-alone Swing application as a client to JBoss, using Java Web Start. The application works when i use it without Web Start, but i encounter the following problem using it with Web Start: Caught an unexpected exception into searchjavax.naming.NoInitialContextExcepti

RE: [JBoss-user] (remote) debugging of servlet

2001-08-09 Thread Paul Austin
Title: RE: [JBoss-user] (remote) debugging of servlet Sven, The remote debugging is a feature of java and the -Xdebug is passed to the command line to java that starts JBoss. To do this I create an environment variable called DEBUG which I can then just include on the start-up command when

RE: [JBoss-user] automatic datasource generation...

2001-08-09 Thread marc fleury
if you don't need new classes you are all set with the patch afaict marcf |-Original Message- |From: [EMAIL PROTECTED] |[mailto:[EMAIL PROTECTED]]On Behalf Of Ferguson, |Doug |Sent: Wednesday, August 08, 2001 11:00 PM |To: '[EMAIL PROTECTED]' |Subject: RE: [JBoss-user] automatic datasour

[JBoss-user] (remote) debugging of servlet

2001-08-09 Thread Scheil, Sven
hi, i'm using apache and jboss2.4.0/Tomcat3.2.2 and would like to know how to configure Tomcat for (remote) debugging. i know, i have to set -Xdebug-parameter, but don't know where. may in the jboss.jcml??? i want to debug my servlet from kawa. thanx sven __

[JBoss-user] Re: [j2ee] Help with HTTPS

2001-08-09 Thread Chris Kimpton
Hi, --- Anil <[EMAIL PROTECTED]> wrote: > In our Project, we are using JBoss 2.2.1 and Tomcat 3.2.1. From > this > environment we have to access the https port of another Web Server. > (iPlanet). We have successfully configured https in iPlanet and is > able to access the same from an ordinary

[JBoss-user] New feature "UserTransaction" in JBoss2.4

2001-08-09 Thread Edward Wang
  Hi, Sir:   I am using JBoss 2.4 Beta, and I want to use the new feature "UserTransaction" in my stand alone client. I lookup it in the JNDI but failed to use it. May someone help me by giving some hint or examples.   Below is my code for the Client, in which "SB_M_WareHouseHome"