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
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
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
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
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
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
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
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
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
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
>
>__
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
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
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
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
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
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
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
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
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
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:[
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
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
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
|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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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]
> [
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
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
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.
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)
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
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
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
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
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.
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)");
"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
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
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
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
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
__
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
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"
61 matches
Mail list logo