Well seems like you are calling EJBs from the login module (LM) . The problem
is that the LM commit() has not be called and untill commit() is called the A&A
information is not valid for the subject!!.
Why dont you make the EJBs that you call from LM insecure?
View the original post :
http:/
Hmm you may not be able to restrict home interface lookup using acl but you can
restrict who gets to call the create() methods in the interface using
declarative security.
The other way to restrict jndi lookups is to have a username/password for the
jndi access.
View the original post :
http
Its definitely a bug. The LdapExtLoginModule is relatively new and might not
have undergone serious user testing :). Another thing missing is that the login
modules dont provide a role mapping capability to map groups from ldap to roles
that are different from the group name!!
View the original
You will get the filter to work only if you are using form based auth. In case
you are using basic then the filter doesnt work!!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898578#3898578
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
If you are using basic authentication then yes jboss can help. You can write
your own/extend the existing loginmodules to get the password. It will nto be
encrypted. Even if you end up using SSL by the time the password reaches the
login module it should be decrypted already.
If you are using
Some thoughts::
Seems like the earlier impl of relogin the user (behind the scenes) is a better
idea as the other option involves using mbean code. Kinda ties you up a lot to
jboss.
In J2EE use as few native features as possible. In case you cant help using it,
provide enough delegation/abstra
At the highest level these are the steps required to convert a insecure j2ee
app to a secure one in jboss
For web apps
1) In the web.xml list the urls that need to be secure and the http methods
that need to be secure. This can be done as so.
| anonymous wrote :
|
|
|
hi
i have some entity beans that would be good to set defaults from a properties
file.
Whats the best way to do this ? I was thinking either in the create (which
could mean a pile of disk accesses or create an mbean to "hand it out" at
creation etc.
thanks
View the original post :
http://w
Thanks Neelixx, I am downloading
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898509#3898509
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898509
---
This SF.Net
The scope of the transaction governs the commit. Execution of finders forces a
flush.
At this point you should probably be looking to move to Hibernate or EJB3. I'd
say that the bulk of newer JBoss-based systems (if not on the whole) are now
deployed using Hibernate or similar and not CMP2.
Hi,
I am using JTA and in a MDB i have the following problem. During the process,
in an transaction, a bean encapsualtion a external webservices throws an
exception (axis fault). The result is that JBoss rolls back the transaction.
But in this case i don't want that. I want to persist with the
Sorry about the multiple posts but here is how to compile:
$ ant dist
And then copy the war file from the bin directory to the deploy dir.
JAVA_HOME has to be set for the stuff to work.
Now its bedtime..
Best Regards
Per
View the original post :
http://www.jboss.com/index.html?module
In your log4j xml file, exclude all messages generated from org.jboss.cache.*
and org.jgroups.* in your appender.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898441#3898441
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=repl
that needs to be done with the 2.2 version of the code.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898366#3898366
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898366
-
Hi,
I am getting the foll. exception..
Setup: weblogic6.1, j2sdk1.4.1_04, JBossCache-1.2.3
Exception:
org.jboss.cache.lock.TimeoutException: rsp=sender=192.168.102.41:2451,
retval=null, received=false, suspecte
d=false
[java] at
org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.jav
tremalnaik,
While doing some research on a project I'm working on, I ran across this on the
Wiki. Haven't used it, but sounds like it may help:
http://wiki.jboss.org/wiki/Wiki.jsp?page=CachingLoginCredentials
HTH.
Good Luck!
--Aaron
View the original post :
http://www.jboss.com/index.html?
If Oracle 10g is like the installation of 9.2 I use at work, its probably using
port 8080. You could either switch that off or set Tomcat to listen on another
port by modifying
${JBOSS_HOME}/server/default/deploy/jbossweb-tomcat55.sar/server.xml.
Regards,
Callum.
View the original post :
htt
Hi Guys,
Thanks for the replies, just a quick question. If the transport guarantee is
not set, is is valid to run over ssl?.. if so should it not be posible to
configure the whole wsdl from the server configurations rather than from the
wsdl or the deployment descripters.
I guess the sho
Some samples:
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70194
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898368#3898368
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898368
Hi,
I have a task to move an existing Weblogic based application to JBoss.
Application is based on portlets, so JBoss Portal is in my opinion the only
option. It is made using EJB (logic) and Struts (UI).
I'm totally new at JBoss (and quite at Weblogic) so I will be very grateful for
any sugge
Hi,
I am using JTA and in a MDB i have the following problem. During the process,
in an transaction, a bean encapsualtion a external webservices throws an
exception (axis fault). The result is that JBoss rolls back the transaction.
But in this case i don't want that. I want to persist with the
Is it possible to use embedded attributes, which map to Objects that use for
themselves embedded attributes?
e.g.
| public class Konto implements Serializable {
|
| @Embedded
| @AttributeOverride(name = "betrag", column = @Column(name = "saldo"))
| private Saldo saldo;
Using JBoss-4.0.0RC2 and DB2 8.2(on Windows XP systems)
After invoking a method(couple of times, say 5-6 times) from the Session
Bean(SLSB) the following exception is reported. It works perfectly fine for the
initial 5-6 times when the same method is invoked as mentioned above. Then the
app serv
I just found this link (haven't checked it out). It might help you to disable
Oracle's XDB server, or change its port usage:
http://www.togaware.com/linux/survivor/XDB.shtml
Cheers,
Callum.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898388#3898388
Repl
The best way to configure JBoss inside Eclipse is to use the JBoss-IDE
http://www.jboss.com/products/jbosside
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898455#3898455
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=
Also,
I finished up the database portion just so you can look at it.
If you are asking about a book, most of my knowledge came from the JBoss Wiki,
the JBoss Admin Guide, and the book JBoss: A Developer's Notebook.
I highly recommend the Developer's Notebook, as it gives you a hand's on guide
I kind of solved my problem so i want to update you, i have 2 running nodes in
windows in TCP mode, one on port 7800 and another in port 7801 one is master
and another is slave and im happy :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898493#3898493
Rep
Hi,
Following the EJB3.0 Demo from JBoss, I cannot find the Packaging Configuration
Node on the Project Property View. I have installed Eclipse 3.1.1, JBoss
4.0.3, JDK1.5.0, EJB3.0 Plugin from JBoss.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898451#389
Make sure you separate your clusters by using different mcast_addr/mcast_ports
combinations
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898369#3898369
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898369
Sorry about this, i posted the message twice. Please ignore the other post :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898384#3898384
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898384
---
Hi,
I deployed a ear that has a har file that has mapping xml,
hibernate-service.xml and the pojo to jboss server. It works fine.
When i deploy my second ear,
i have the exception below:
org.jboss.deployment.DeploymentException: Trying to install an already
registered mbean: jboss.har:ser
Hi,
I too am a newbie to JBoss, but came across the answer to your question.
jboss-service.xml file, present in the conf directory of your server mode (Ex.
default), has a section called JNDI. The ports have been specified there. You
probably will be able to change the ports there.
Here is the
Hi,
How did you solve the problem ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898404#3898404
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898404
---
This SF
Eric,
Is Internet Explorer using a proxy server? Also, you may want to include in
your HTTP headers no caching.
<%
response.setHeader("Cache-Control","no-cache"); //HTTP 1.1
response.setHeader("Pragma","no-cache"); //HTTP 1.0
response.setDateHeader ("Expires", 0); //prevents caching at the prox
Hi
My question is I'm sending a message, and I want to retrieve it from the queue
and send the data to the database; can anyone give me some sample to achieve
this. [USING MDB].
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898409#3898409
Reply to
Hi,
I'm having the same problem. How did you solved it ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898403#3898403
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898403
--
Hi,
I have a problem with HttpServletResponse.encodeURL(). When I disable cookies
in my web browser and connect to my application, it appears that encodeURL()
encodes any URLs that do not start with a '/' appropriately using the session
id. Nevertheless, all URLs that start with a '/' (i.e. a
Hi,
I'm trying to authenticate a subject using jaassecurity manager but failed.
| public void authenticate(String nick, String pass)
| throws UnauthorizedException {
| MBeanServer server = MBeanServerLocator.locateJBoss();
| String jaasMgrName
I got the same errors after upgrading to 4.0.2 (from 3.2.6). It happens when a
process it too slow and it exceeds the time-out of 5 minutes set in JBoss for
transactions.
The result is indeed very disturbing, JBoss sort of crashes, it will only serve
error pages and sends thousands of ERROR e-ma
You can possibly use JMX. I dont have a running site right now, but it looks
like MainDeployer(with a JMX name of jboss.system:service=MainDeployer) has a
method called getDeployment(URL deployURL) and returns a DeploymentInfo object.
DeploymentInfo has information about when the deployment was
Hi,
How did you solve the problem ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898386#3898386
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898386
---
This SF.
Hi,
I deployed a ear that has a har file that has mapping xml,
hibernate-service.xml and the pojo to jboss server. It works fine.
When i deploy my second ear,
i have the exception below:
org.jboss.deployment.DeploymentException: Trying to install an already
registered mbean: jboss.har:ser
Yes, by clunky I was referring to the need to use the request and response
types for my .NET and legacy VB6 client proxies. I like the cleaner interface
that simply mimics the Java interface used to define the service.
With that in mind I am planning on proceeding with rpcliteral as the default
"Touching" is a unix/linux term. To "touch" a file, means to update it's
"lastModified" attribute, without really modifying it.
If you are running JBoss on Unix or Linux you simply run "touch ". If you are
running JBoss on Windows, but you have access to a Linux/Unix
server/workstation, you c
Hi Raja,
Thanks for your reploy. What do you mean by "touch that file"? I'm able to
see the watch url for my deployed application. Could you please elaborate on
this?
Thanks,
Eshwari
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898423#3898423
Reply to
H.
I don't think it's the browser cache, as that would mean you are using cookies?
If you are storing their logon in their session, how about this:
1). Store the page they are currently at in a variable
2). Store the username and password from the updatePassword form.
3). Upon succe
That did it, thank you.
Dano
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898327#3898327
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898327
---
This SF.Net em
All,
Been looking to write some unit tests for my portlets, however short of
portletUnit, which seems to have a dependency on Pluto, I can't seem to find
anything else out there to help mock the RenderRequest and RenderResponse, or
unit test that the portlet behaves as it should. Something in
If you don't provide the environment variable JAVA_OPTS, the jboss start script
run.sh puts -server into the command line.
So do this:
JAVA_OPTS="-client"
export JAVA_OPTS
run.sh
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898323#3898323
Reply to the post
I want to disable all logging from JBossCache
If their isn't a property to do so, can I specify a custom logger?
Thanks,
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898343#3898343
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mod
I have Connection problem in Web Service (stateless bean):
java.sql.SQLException: Table not found: DUAL in statement [select 'ABC123' from
dual]
STACKTRACE shows problem in
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:321)
ejb-jar.
Hi,
I am getting the same exception with cache mode as REPL_SYNC. Is there any
workaround to avoid this exception? Appreciate your help.Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898445#3898445
Reply to the post :
http://www.jboss.com/index.html
Hi,
I am trying to run the JBossMQ samples using mySql database.
Everything is alright except whenever I am trying to access the testQueue then
JBoss gives me following exception.
2005-10-02 19:32:35,652 ERROR
[org.jboss.deployment.scanner.URLDeploymentScanner] Incomplete Deployment
listing:
-
Gunjan - did you ever resolve this? I am seeing something similar happening w/
4.0.2. At least in my case, jvmRoute is not being set ( I think on the Tomcat
side ). I have 3.2.2 servers defined in my LB as well, and everything works
perfect when I map to those. As soon as I map back to 4.0.2 ser
Two ways AFAIK(although they might end up being the same depending on the way
its setup)
1. Touch your web.xml if the war is unpacked or touch the whole WAR file if
packed
2. Look up the list of completeDeployments method from the MainDeployer JMX
MBeanView of the jmx-console. There should be
angelzworld,
I just wrote up a quick article on using JBoss's security architecture.
Although it's not really needed, as there are a slew of articles out there (not
to mention on this site in particular).
I only write these articles to help my understanding, and for note taking. You
can fi
Hello,
I am studing jboss recently.
I downloaded a zip file named "lomboz-eclipse-emf-gef-jem-3.1RC2" from Lomboz
web site. According to its narrate,this is a complete eclipse including all
the things to run J2ee.
My computer is WindowsXp, having a jdk1.4.1 in C:\.Enviroenment parameter is
s
If the user is submitting their credentials in an HTML form, then you already
have their credentials.
If you are using Browser-based logon, then you'll have to write your own
LoginModule.
JBoss does have a way of doing SSO (Single Sign On) but I haven't delved too
much into that aspect yet.
V
I agree.
UserPortlet funcitions, registering aso., are central to a Portal Server, and
the current implementation leaves much to be desired.
I'm going to improve the code in UserPortlet, and if its possible, return it to
the project.
View the original post :
http://www.jboss.com/index.html?mod
Hi,
Basically I have I Bean which stores a Serializeable Object in a MySql Database
using JBoss 4.0.2.
What I do not understand is, that in some instances changes to the object are
not saved to the Database. There is no SQL UPDATE query generated in the
server.log file (DEBUG messages turned on
4.0.7 ?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898533#3898533
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3898533
---
This SF.Net email is sponsored by:
Po
Hi
I'm using JBoss 4.0. Is there a way to force reload a servlet in JBoss? I
wanted to drop in a modified servlet class file, without restarting the server.
When I modify an already deployed class file, JBoss is not picking the latest
one. In Tomcat I'm able to force reload it by setting t
Why some threads keep alive for a long time even thought the configuration is
set connectionTimeout="6" maxKeepAliveRequests="1".
This causes the maximum threads are reached and then JBoss is very slow.
I captured Tomcat Status in JBoss 3.2.7.
http-0.0.0.0-8788
Max threads: 300 Min spare thr
Hello,
I am working with a product that pulls application layer messages off of a
router including http, smtp, etc. I am trying to implement an adapter for
Jboss.mq and had a question about when mesages are sent to the server, whether
they have a urn something like jms://10.8.0.1/topic/Mytopic
Hi,
Running 4.0.7 on Mac os X 10.4
We have upgraded from 3.0.6 to 4.0.7 and are now unable to run jboss offline.
It appears an attempt is being made to download the Spring DTD's.
Is there a way to turn off DTD validation? The jboss-service is already set to
false.
Searching through the forums
Need to know more about your environment. Specifically, are you using a
different JDK version than the one used for WebLogic?
Also, try using the newer version of JBoss 4.0.x.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898529#3898529
Reply to the post :
My first advice to you is... "Secure your files".
Secondly, anything is possible, as JBoss is open-source. Whether it can be
done "out-of-the-box", I'm not sure.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898525#3898525
Reply to the post :
http://www.j
I've never used the Cluster Config service for Tomcat5 before, but I can read.
At the top of your config file, it says to turn loopback to "True" for
Windows-based machines.
Your's is set to false. Try that.
HTH
Aaron
View the original post :
http://www.jboss.com/index.html?module=bb&op=vi
Realistically, you can serve hundreds of web applications from a single
server you'll just need to set the context path of each application.
If you can't do this, can you post more about your environment? I'm not
understanding your question.
WebApp1: context root = /webapp1
WebApp2: cont
Hi there,
I'm testing EJB3 with Eclipse and JBoss 4.0.3 RC2. I created a super simple
@Stateless Bean as show below:
package test;
|
| import javax.ejb.Remote;
|
| @Remote
| public interface HW {
| public String upper( String message );
| }
package test;
|
| import ...
First, congrats to you; hope you had a great honeymoon :)
I took another look this morning and saw the problem that eluded me before.
See
http://jira.jboss.com/jira/browse/JBAS-2314
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898297#3898297
Reply to the
I'm not too sure about hw ones either, but a believe a lot of the newer
hardware (e.g. a layer 7 switch) promises the ability to route packets based on
user-specified application layer data. In the end an HTTP header is just some
text in a particular point in the request stream; a SOAP header i
Hi
Can anyone please help me in finding a example on Queue
using jBossMQ , SQLServer and MDB.
Thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3898521#3898521
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=38985
73 matches
Mail list logo