anonymous wrote : If I put it to a "sec/*" url-pattern, only under this dir returns
the getUserPrincipal() or the getUserInRole(), but upper pages from this dir cannot
see my logged in context. I don't know why is that??
|
If you're trying to access the security context from an unprotected p
I'm trying to setup JBoss (4.0DR3) to use Postgresql (7.4) datasource on Linux (Debian
with kernel 2.4.22).
Have no problem accessing PG with JDBC, and just couldn't get JBoss to use the
datasource properly.
Ok, here's what I did.
Copy postgresql-jdbc3.jar into the directory
$JBOSS_HOME/serve
There's no way to measure memory usage of an object instance in pure Java runtime.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823440#3823440
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823440
-
Does Torque generate classes at runtime?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823439#3823439
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823439
---
SF.
Or provide duplicate deployment descriptors and repackage between the runs with an ant
script.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823438#3823438
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823438
Distribute your JBoss installation with two separate datasource, then provide an ant
script that modifies the deployment descriptors (change datasource in
jbosscmp-jdbc.xml with XSL for example) between the test suite run and the application
suite run.
View the original post :
http://www.jbos
There's no persistence in the JBoss naming service implementation. Are you running a
cluster or a single node JNDI?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823436#3823436
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=r
Securing Default JBoss Installation
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823435#3823435
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823435
---
SF.Net i
Hello!!!
I want to know how to deploy EJB in Jboss. I need some links which will give
deployment detail on Jboss in linux. Please help.
Thanks.
Ezhil.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823434#3823434
Reply to the post :
http://www.
hi all,
i got the solution,
You can view it in the site
http://jboss.sourceforge.net/doc-24/ch05s13.html
You have to specify the full jndi name
java:/com/env/ejb/BEjb while lookup
Thank u
- saritha
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823433#382
I have a SessionBean and a method where I am removing a CMP. I don't know why it
doesn't roll back. I have executed my code and the record is still getting deleted.
Even when I print ejbContext.getRollbackOnly(); the result is true. Why won't it
rollback the delete?
Here is the method:
Are you multihomed ? Then you need to set the bind_addr to a *valid* NIC. Note that on
Solaris 8 for example, binding to 127.0.0.1 for multicast doesn't work (this was fixed
on Solaris 9).
1. Check what address is printed for each member.
2. Verify that that name resolves to the same IP address
that's correct. Except for exposing CMR setter (?) what do you mean?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823427#3823427
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823427
i think i see the point ---
CMP's must be set in the entity bean's ejbCreate method, which returns the primary
key. and CMR's must be set in the beans ejbPostCreate method, which is called after
creation. thus, the CMR fields formally can *not* be part of the primary key (correct
me if i'm wron
The following code works. It is the result of pulling together all the various
references on how to get Auto increment and XDoclet working. Hope it helps.
/*
* This file is Copyright Adam Young.
* Contact [EMAIL PROTECTED]
*/
package com.younglogic.eventful.ejb;
import java.rmi.RemoteExcep
"can a CMR field be part of a CMP primary key?"
How do you imagine that?
If you mean whether you can use the same columns for CMP fields and for foreign key
fields the CMR is mapped to, then the answer is yes, you can.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewt
Yes, sorry. So, the problem is reading result set for field user. What is the Java
type of user, what is the column type and what value does it fail to read?
And what is the JBoss version?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823422#3823422
Reply to
if i understand your discussion, i believe i may be having a similar problem which i'm
trying to tackle at the moment, which is basically the question:
"can a CMR field be part of a CMP primary key?"
and if so, how does one do it? i'm also wondering if xdoclet would do it properly, if
it's poss
no loubyansky, am accessing them through my session beans...
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823420#3823420
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823420
Question
Can someone tell me whether or not I should switch from OIL
to UIL in version 3.0.4? We are suspicious that we are getting client
disconnects because we are using OIL (message on app server) but aren’t
sure. Upgrading right now is NOT an option. UIL2 isn’t available on
3.0.4.
What are you trying to achieve here - not the work arounds etc, but your initial
objective?
I have form based auth working with DatabaseLoginServerModule, mainly thanks to the
paper I mentioned about, that Scott wrote.
Martin
View the original post :
http://www.jboss.org/index.html?module=bb
"about" should read "above"
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823419#3823419
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823419
---
SF.Net is sponsor
You will need to check it out from the CVS. Instructions can be found on
sf.net/projects/jboss
If can't do it, please, provide me with a testcase. Thanks.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823413#3823413
Reply to the post :
http://www.jboss.org/
I was able to start 2 instances of Jboss in the same machine with different IP
addresses using "-h" switch to "run.bat". I got "receive timed out" from the
application, so I added the properties to JNDI.properties to block the socket timeout
under the server subdirectories of each instance. Now
Here is some sample Debug output of server.log file,
2004-02-25 13:44:54,828 DEBUG [org.jboss.logging.Log4JService]
2004-02-25 13:44:54,828 DEBUG [org.jboss.logging.Log4JService]
:
:
2004-02-25 13:44:54,843 DEBUG [org.jboss.web.WebService]
:
:
2004-02-25 13:44:55,046 DEBUG [org.jboss.logging.Log4J
are you accessing local interfaces remotely? you can't access CMR fields remotely.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823410#3823410
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823410
--
JBossCMP handles cascade delete itself (w/o cascade delete settings in the db). How do
you configure it that is does not work?
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823409#3823409
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=post
Hiya
Ran into a little snag I can't get out of...
I'm trying to call EJB1 that's in EAR1 from EJB2 in EAR2. EAR1 and EAR2 both have
their own Loader Repositories configured.
Because of the separate repositories, the classes from EJB1 are not directly visible
to EJB2, so I created an "EJB1 clie
It works for me in 3.2.4RC1. I think, it should also work in 3.2.3.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823407#3823407
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823407
-
After putting relations to my CMP entities I get this exception when I try to run my
client. Can someone plz support me on this?
org.jboss.tm.JBossTransactionRolledbackException: Internal error getting results for
field member user; CausedByException is:
| Unable to load to deserializ
Hello,
We use a jni library to use some program logic.
The jni lib have several functions that send several data to java and vice versa.
The strange thing is we have a memory leakn its seems that no data that is used in the
lib is freeed. For every new in the c-code there is a delete.
We have t
This may be a stupid question...
I have installed 3.2.3. Now I want to make sure to protect it. For example, with
WebLogic, I don't want everyone getting to the console where they can run wild. Are
there any such things that I need to lock down with JBoss? If so, what and how?
Thanks,
Dale
Hi,
I've been having stale servlet problems, i.e. the war I deployed a couple
of days ago executes and new deploys are ignored. Reboot JBoss did not
fix it, re-installing JBoss did.
The war was unpacked into jboss, .../tmp/deploy/ but its classes were not loaded.
The startup console log has the
if you set a title for the poll when you created it, then it is potentially a bug. you
can file a bug report for it on sourceforge, and/or attempt to fix it yourself and
submit a patch.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823402#3823402
Reply to
I am facing an error
I am trying to configure Microsoft Access as DataSource
Therefore I copied msaccess-ds.xml to E:\jboss-3.2.3\server\default\deploy with some
changes
I have made a DSN named CSO which points to cso.mdb in my Windows 2000 System
The Whole code is copied into
I am new to JBos
Can someone tell me how the server determines that a client
connection has failed?
Can this happen if the client is bogged down heavily?
Eric J. Kaplan
Armanta, Inc.
350 Mt. Kemble
Ave.
Morristown, NJ 07960
"santoshsahu" wrote : tried to open it with AR 4.05
|
You need to upgrade your reader,
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823397#3823397
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823397
-
HI Bela,
I removed bind_addr=127.0.0.1, but still the same behavior. Can I try anything else?
Stefano
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823396#3823396
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823396
p.s. - before anyone asks, I have tried this on both JBoss 3.2.1 and 3.2.3.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823394#3823394
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823394
We are trying to put some values into the JBoss global JNDI, which will make the
values accessible across several apps that do not share codebases. Basically, we are
storing the component version numbers as a String in the global JNDI. The idea is
that we could do something like this:
| Co
Lose the bind_addr=127.0.0.1.
I have some code that shows how to access the TreeCache MBean from servlets, I will
post a document soon.
Bela
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823392#3823392
Reply to the post :
http://www.jboss.org/index.html?m
I had this problem today and thought I'd share my findings in case it helps anyone.
There are a few service on W2K server that get a dynamically allocated port. If JBoss
isn't already running then these will get allocated. I have had it most frequently
with 1099 and 1098. This tool is an easy wa
Hello,
Is there a possibilty to throw back a html error page or other page if we have reached
the max thread value defined in the xml of tomcat?
Johan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823389#3823389
Reply to the post :
http://www.jboss.org/i
Hello,
Is there a possibilty to throw back a html error page or other page if we have reached
the max thread value defined in the xml of tomcat?
Johan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823388#3823388
Reply to the post :
http://www.jboss.org/i
Hi All,
I really hope somebody can give me an hint on this matter, because it is driving me
crazy :-(
I have to implement a simple distributed cache between multiple JBoss istances not
necessarily clustered.
I though to use JGroups 2.2, which I understand JBoss uses already for clustering.
The
Why specifically? More robust I assume?
-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Sacha
Labourey
Sent: Friday, February 27, 2004 3:08 PM
To: [EMAIL PROTECTED]
Subject: RE: [JBoss-user] Connection factories on 3.0.4
You should use UIL2.
Cheers,
sa
Hi all
A use JBoss 3.2.3(include Tomcat 4.1.29).
By default Tomcat web container uses one instance of servlet per many requests. I
can't use SingleThreadModel for my servlets because It does not approach for my
problem.
In Servlet Specification Version 2.4 I have found:
SRV.2.2
...
For a servl
Hi,
Can any body solve the problem i couldn't get it. I have no problem when testing in my
local system but when i placed the application in the remote server it is giving the
error. I have used the MBeans to continoulsy monitor the queue. I am using jboss
server and i am getting the error whil
classpath (one word) that is. Don't want anyone to miss it on a search.
In most forums you can edit your own post. I do not see a way to do that here. I
could have just fixed this instead of replying.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823382#3
Founded it in Installation Forum:
Checked out: JBOSS_HOME/server//deploy/jbossweb-tomcat.sar/jboss-service.xml
I changed Port 8080 to 8085 and it worked for me.
Robert
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823381#3823381
Reply to the post :
http:
I've did some exercises from tutorial about lomboz & jboss
got error
Env: eclipse 3.0M7+lobmoz+xdoclet tags
Error in jboss.xml for Bean StoreAccess: ejb-ref ejb/CustomerLocal found in jboss.xml
but not in ejb-jar.xml
ejb-jar.xml:
StoreAccess
com.store.session
I'm using Jboss3.2.3, Oracle9i and JbuilderX Enterprise
Hello all. Does anyone know what driver I should use for 2pc?
I tried the config below and it doesn't work. I get no errors but when the insert is
part of a UserTransaction it just doesn't commit with txn.commit() but I can do a
select stat
Hello,
Ho can get the directory where the war files is deployed?
Is there a java call for that? I needed because i must do some changed in that
directory ath runtime
thx
Johan
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823375#3823375
Reply to the post
You need to post specific data on what you are testing.
For JSPs, you need to either precompile them (and map them as servlets), or disable de
development mode of Jasper. This makes a big difference.
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823374#382337
I installed 2 JBoss Server, one for running the Nuke Portal, one for development with
eclipse.
How can I manage the ports and access the different Server via localhost.
Thanks in advance
Robert
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823373#3823373
Hi
Is anyone else on the list using JCentric hosting? Is there a forum for
JCentric users that anyone knows about? If not, should we start one?
Cheers
J
---
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web s
56 matches
Mail list logo