Scott, you are almost certainly right, but I am at a loss as to how to do
what I need to do.
My webapp is a servlet and a set of html and jsp pages, all protected by
JBoss security. If the user enters at the "top" of the site he runs the
servlet and all is well.
If he later uses his browser hist
throwing an applcation exception doesn't automatically rollback the
tx. you'll need to call setRollbackOnly on the bean context for that to
happen - do it before you throw the exception as a general rule. I've
been told that this behaviour is in the spec to make it compliant with
CORBA... someon
thank you... sir
john
- Original Message -
From: "Imran Bohoran" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, September 28, 2001 12:42 PM
Subject: RE: [JBoss-user] What is my JBOSS_DIST?
> it should point to
>
> /opt/JBoss-2.4.0_Tomcat-3.2.3/jboss
>
> cheers
>
> Imran
>
it should point to
/opt/JBoss-2.4.0_Tomcat-3.2.3/jboss
cheers
Imran
-Original Message-
From: John LYC [mailto:[EMAIL PROTECTED]]
Sent: Friday, September 28, 2001 9:34 AM
To: Jboss Mailing List
Subject: [JBoss-user] What is my JBOSS_DIST?
Hi all,
Im using jboss with tomcat.
I'm just
Hi all,
Im using jboss with tomcat.
I'm just need to confirm where my JBOSS_DIST should point to.
it is
/opt/JBoss-2.4.0_Tomcat-3.2.3
or
/opt/JBoss-2.4.0_Tomcat-3.2.3/jboss
?
thanks
John
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourc
hello,
I'm trying to integrate castor into jboss. Everything seems to be running
fine. I'm wondering how I can get a data object managed by castor to be
included in a trasaction started by the container. (container managed
transactions)
that is,
I have a transacted session bean which as
Lots of stuff (been doing Java for a while ;-), but here
are some techniques (in extremly short format) when
you have gc problems.
1) Monitoring
Find out what does not get collected. Either use
a tool like OptimizeIt - but I find them a bit clunky
to use or do it "by hand":
Identify you
No, separate VMs.I look at it breifly but we don't
really need it and it looks quite messy to get right
in terms of class loading ...
R.
> -Original Message-
> From: Tahir Awan [mailto:[EMAIL PROTECTED]]
> Sent: Friday, September 28, 2001 1:49 AM
> To: '[EMAIL PROTECTED]'
> Subject: RE:
Why is this necessary? This seems like a web container implementation detail
and JAAS login modules are about abstracting out authentication mechanisms.
If there is some session info that needs to be returned do it from the
secured
servlet or jsp page.
- Original Message -
From: Gerry Duh
-server is the server version of hotspot. -hotspot is the default (a
client orientated version), and -classic is the old version of the JIT.
If you look in your jvm.cfg file you'll see a list of what's installed
on your system. Now, as a point of fact, I see the -hotspot (sometimes
known as -clie
Dain, basically explained. I had a look at the source. JBoss uses a
'special' class loader to dynamically generate a 'byte code' class
presumably 'wrapper' the ejb abstract class before it is instantiated. Very
clever!
Kar
- Original Message -
From: "Andreas Joseph Krogh" <[EMAIL PROTEC
Hi!
In a Custom Login Module, is it possible to
communicate with the user?
I have replaced a servlet by a custom Login module,
but I need to write a cookie or force a servlet to be run.
Is this possible?
Is it a stupid idea? It doesn't seem
so!
Gerry
Title: JBoss/Linux thread probs
JDK 1.3.x have a bug with -server and memory
allocation... You will find this as most voted bug in JDC... Probably is the
problem you are having.
- Original Message -
From:
Herve
Tchepannou
To: [EMAIL PROTECTED]
Sent: Thursday, Sep
Title: JBoss/Linux thread probs
The
-server affects the runtime compilation of the 20% of java code that is
interpreted. It is supposed to optimize it for running over and over. For
instance a loop that gets executed 15000 times will get compiled on the fly. I
would not use it though. I foun
Title: JBoss/Linux thread probs
What's
the theorical difference between having the -server set or
not?
Does
anyone know how to monitor JBoss? I tryed to run monitor.jar, but that app does
nothing :-(
Is
there any JBoss develloper who can explain me why JBoss use that much
threads??
Onc
Removing Server is just going to change the way HotSpot works. I don't
think this is going to affect your problem directly. Check your
ulimit's. Sometimes running out of open file descriptors will mask it
self as a process limit problem. Note, this is a java issue, not a JBoss
problem.
Also, I've
The reason we can not use a primary key that is automatically assigned in
the database has to do with the limitations of the JDBC drivers. Until JDBC
3.0 there was no way to know the final value of the auto generated columns
in a INSERT statement, so there would be no way to know the key for the
Title: JBoss/Linux thread probs
We
experienced some weird shit with Linux 7.1, jdk 1.3.1 and JBoss
2.2.2. It may be related. We saw huge amounts of memory being
allocated for no apparent reason. We reverted to jdk1.3.0 and everything
worked fine.
-Original Message-From:
[EMA
Title: JBoss/Linux thread probs
One
thing I noticed is that the -server options sucks.. trying removing
that..
d.
-Original Message-From: Herve Tchepannou
[mailto:[EMAIL PROTECTED]]Sent: Thursday, September 27, 2001
12:21 PMTo: [EMAIL PROTECTED]Subject:
[JBoss-user] JBoss
Add an ejb-link to the web.xml descriptor:
ejb/SessionTest
Session
SessionTestHome
SessionTest
SessionTest
Scott Stark
Chief Technology Officer
JBoss Group, LLC
- Original Message -
Hello,
I just started using JBoss 2.4.1 and an application that worked
without a problem under 2.2.2 stopped working now.
I have a simple Session Bean and a Servlet that uses it.
My ejb-jar.xml looks like this:
---
Test Application
EJB Test
SessionTest
Or decouple the key generation from the row insert so that you can get
the key from the database withing ejbCreate, then assign that value to
your primary key field
Adam Esterline wrote:
> You cannot use a DB generated key with CMP. You must use BMP or some other
> mechanism, if you want to
I am assuming that you are leaving your pk field null in the ejbCreate,
because you are using Oracle's sequence field. JBoss does not like it when
your pk field is null.
If you notice, in the example you are using, they do assign the id field a
value in the ejbCreate.
The bottom line: You ca
Even if you don't have the pk as a parameter to ejbCreate, you still need
to set it in your code. Popular ways include having a session bean or an
mbean to get the next sequence value, and having your ejbCreate get the
value from one of these. At least if you use an mbean, you can set your
sequen
I have been following the example at:
http://www.jboss.org/documentation/HTML/ch05s08.html
Is the example wrong? or am I not understanding it?
btw.. i am using Jboss2.4.1 bundled with tomcat 3.2.3.
You cannot use a DB generated key with CMP. You must use BMP or some other
mechanism, if you want to use a DB generated key.
Adam
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 12:21 PM
To: [EMAIL PROTECTED]
Subject: [JBoss-user
We have a CMP entity bean which has an ejbCreate(Integer, String, String)
method which returns null since the database should generate the key for us
(from an Oracle 8i sequence).
The ejbCreate is declared to return an Integer (the type of the primary key
field).
Any pointers on where to start l
Title: JBoss/Linux thread probs
Im develloping my app on Linux RH 6.2/JBoss 2.4 and HypersonicSQL.
My app has:
- 4 session beans
- 6 entity beans using CMP
- 4 MDB
- 120 test cases.
When I start JBoss, they are 48 threads that are spawned.
When I run all my test cases the 1st time , 230 th
were you able to run JBoss 2.4 and Resin in same VM?
If so, can you share the configuration?
Tahir
-Original Message-
From: Robert Schulz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, September 27, 2001 3:55 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: [JBoss-user] Perfor
OK. Thanks for the few clues, I now have my own LoginModule operating.
Can I get output back to the user in any way? ie can I produce HTML or get a
servlet to execute from the LoginModule, so that a cookie can be written?
(Then let the user get to the page he requested)
Gerry
- Original Mes
I had a problem just like this recently. I ended up hacking around it by
putting a second copy of common.jar in WEB-INF/lib. As far as the
ejb1.jar - create a client version of the jar (home and remote i/f classes
only) and put that in WEB-INF/lib.
Sorry this isn't more helpful!
- Origin
Answering my own question: I put the jar file on the classpath in run.sh and
it works so it seems you need it directly on that classpath when starting
JBoss not just in the lib/ext.
Is that right?
Gerry
- Original Message -
From: "Gerry Duhig" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
U have to use the ProxyLoginModule.
-Ursprüngliche Nachricht-
Von: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]] Im Auftrag von Gerry
Duhig
Gesendet: Donnerstag, 27. September 2001 13:28
An: [EMAIL PROTECTED]
Betreff: Re: [JBoss-user] Security question on Webapps
It does a separate "login
It does a separate "login" operation in a different database and writes a
cookie so that some data from that database is available to subsequent
operations.
I am guessing that what I have to do is subclass DatabaseServerLoginModule
and run my code from that subclass. Which I have started to exper
So what does the "login servlet" do? Sounds more like a front controller
style pattern... is it responsible for directing the request to the
appropriate place?
cheesr
dim
On Thu, 27 Sep 2001, Gerry Duhig wrote:
> Dim,
>
> I am using realms and form based login.
>
> The user doesn't request
Hi again,
more and more I'm investigating it appears to me that
surprisingly the jacorb properties file is not read in this
specific case, something change regarding the security
management on JBoss 2.4 regarding properties file ???
jc
___
JBoss-us
Robert,
Are you willing to share some gc tricks with us.
What is it you focussed on to make the gc behave.
Regards,
Cor.
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Robert Schulz
Sent: Thursday, September 27, 2001 09:55
To: '[EMAIL PROTECTED]'
C
Dim,
I am using realms and form based login.
The user doesn't request the login PAGE directly, it requests the login
servlet which is a protected resource. That bit works.
The problem is that there are other protected resources and if the user
requests one of those, after authentication, the us
Hi Ole,
thanks for your advice.
I'am not totally clear that I know what
you exactly mean. Do you have a short
example for me?
It sounds that the isModified() is for prevent
that it will an update to the DB performed.
Is it right?
I have implemented proxies that call the bean to
increase the
Jo napot kivanok (this is as far as my Hungarian will go)
We have a very similar setup
Single CPU P4-1.4G, 1G RAM, fast SCSI disk running
RH 7.1, SUN JDK1.3.1, Apache, Resin, JBoss2.4 and Postgres.
This setup runs around 50 concurent users mucking around
with the web app easily (we did not push
If you're using security realms and form based login (not sure if you
are) then you shouldn't ever directly request the login page, simply
request the protected resource and let the contain send the login page as
required and then continue the user onto the requested
(protected) resource.
cheesr
Hi,
since several months I'm using EJBs deployed
with JBoss 2.2.2 able to connect with Corba servers
using JacOrb 1.3.3.
I tried yesterday to upgrade to JBoss 2.4.1 but it seems that
I'm not enable to connect with the ORB. As far as I can tell
I have exactly the same configuration ie:
I add o
42 matches
Mail list logo