In fact the session is being invalidated and the problem still persists.
Considering things you've said I think this is a JBossSX issue. Any ideas on
how to flush the databaseloginmodule data?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3952658#3952658
Re
Well that's not the exact point - I don't have to check the user roles at
runtime or dynamically. The only thing is that (that's how I suppose it does
work) the DatabaseLoginModule assigns the roles at the point when the
application is started or at the first login not each time the login is
pe
Here is my date issue:
I'm having a java bean (it's an enterprise bean in fact but I think it doesn't
matter) with a java.util.Date property. The value is set to ie. 2006-05-30.
When I print the value to the console everything is allright. But in my web
browser window I can see 2006-05-29. I th
Here is a brief description of my problem.
I'm using JBossSX DatabaseLoginModule in my web application. In the
application, there's an opportunity to change user roles by selecting
particular user and assigning him the desired roles. The problem is that
whenever I change the roles, and I'm logg
Ok maybe I'll specify the question in a different way:
How can I use a non-injected entity manager?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947221#3947221
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947221
I had some problems with creating composite fk mapping so what i always do is
adding an artificial id column in such entity and then the composite mapping is
not needed.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946546#3946546
Reply to the post :
http:
Here is what I would like to do:
This is my bussiness interface:
package pl.com.filmservice.ejb;
|
| import java.sql.Date;
| import java.util.List;
| import pl.com.filmservice.par.*;
|
| public interface FilmService
| {
| ...
| public void createUser(User user);
|
Works nice
Thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946540#3946540
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946540
---
All the advantages of L
Oh, and try to specify the cascade=CascadeType.ALL in the @OneToMany annotation
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946276#3946276
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946276
-
@OneToMany(cascade=CascadeType.ALL,fetch=FetchType.EAGER)
@JoinColumn(name="MODULE_ID")
Collection properties = new HashSet();
Try placing the @JoinColumn annotation on the @ManyToOne side and used mapped
attribute in @OneToMany
View the original post :
http://www.jboss.com/index.html?module=bb
Is it possible to have a property in an entity bean that is not being mapped to
a column in the database? When I'm not using the @Column annotation, the ejb
container is mapping the property using some naming rules. I'd like to have
some other properties beside columns so I can use them for ie f
What are the other types of associations that you are mentioning?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3946269#3946269
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3946269
---
While using the 4.0.4GA JBoss release I can't deploy EJB3 entity beans with
@OneToMany(fetch=FetchType.EAGER).
In the JBoss console I can see an error:
Can't fetch multiple bags simultaneously (sth like that)
when I change fetch type to LAZY everything works fine, but still shouldn't
EAGER fe
The issue is:
I'm using JBoss 4.0.3SP1 with EJB3 RC6 deployed. It's a web app in JSF with an
EJB3 back-end. The issue is:
I have a local interface, i try to access it locally (from the web package).
Both packages seem to be in the same JVM. When I try to access an EJB method I
get an
...some
Well this is a myFaces bug:
http://issues.apache.org/jira/browse/MYFACES-1296
Downloading new from the jars from the apache myFaces page should solve the
problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3944567#3944567
Reply to the post :
http://www.
Has anybody created a entity bean on a database view?
Any help, an example source, would be appreciated
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943362#3943362
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=
In the EJB3 Trailblazer we can read something like that:
"Loose coupling: Since the client application does not directly instantiate the
service objects, it does not need to know the name of the implementation class.
It only needs to know the service interface and look up the service stub object
:57:20,250 INFO [STDOUT] at java.lang.Thread.run(Unknown Source)
any clues?
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943454#3943454
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=p
Hi
i've got a very troubling issue with JSF
(I'm using myfaces1.1.3 snapshot with tomahawk 1.1.2 build)
After jumping on few links in my JSF web app i'm getting this kind of exception:
javax.servlet.ServletException: null values not allowed
javax.faces.webapp.FacesServlet.service(FacesServlet.j
Works
Thank you
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3942506#3942506
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3942506
---
Using Tomcat but need to do
In the installation instructions for 4.0.3SP1 and EJB3 RC6 there is something
like this stated:
WARNINGS with an 4.0.3SP1 install
Because you patched 4.0.3SP1, the client jars in the jboss-4.0.3SP1/client
directory will be invalid. Build your client classpath from:
jboss-4.0.3SP1/lib
jboss-4.0
Here comes my troubling issue.
I have a problem with selectOneRadio tag.
When I submit a form every single field from the form stores its state - the
textfields are filled, the checkboxes are checked but the radio buttons
group lose their selection.
This is the page code:
Ok everything is allright it's just my fault
This is the cause of the problem
/*
Whenever i'm trying to access any resource, including pictures or css
stylesheets i'm accessing secured resource.
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=
my latest discovery is that the cause of the problem is that there is an issue
with the background-image css attribute in fact... The image is not being
displayed and later on I'm being redirected to that image!
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3
Ok here I go with my bizarre problem.
I'm creating a webapp with JSF. There is a JBossSX based security with a form
type login. This is the index.jsp file:
-
<%@ taglib uri="http://java.sun.com/jsp/jstl/core"; prefix="c" %>
-
the main.jsp file is a secure resource.
this is the login.js
Here is my troubling issue:
this is the source code:
public class MovieSearchControllerServlet extends HttpServlet
{
public void doGet(HttpServletRequest request, HttpServletResponse
response) throws IOException, ServletException
{
Stringoption = req
ybe someone can give me a clue on how should I specify the action element in
the login page form.
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3923529#3923529
Reply to the post :
http://www.jboss.com/index.html?module=b
obtain his roles and
later on, personalize the web page look depending on his role set. Is it
possible ? How can I do that?
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922097#3922097
Reply to the post :
http://www.jboss.com/index.html?mo
Well the problem persists...
I'm using standard installation of JBoss 4.0.3 EJB3 version. I didn't change
anything about the container.
Using the first option:
request.getUserPrincipal() returned org.jboss.security.SimplePrincipal and this
class doesn't supply me with getRoles() method.
I'm q
The issue is - how do I obtain authenticated user data?
I want to personalize the web page depending on the roles assigned to that
user. How do I access the user roles from the JSP level?
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922058
Under this URL you will find a desired LoginModule specs:
http://docs.jboss.org/jbossas/jboss4guide/r4/html/ch8.chapter.html
Good luck
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921853#3921853
Reply to the post :
http://www.jboss.com/index.html?module=b
The sequences are allright, and there is no data inserted without jboss...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3914176#3914176
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3914176
--
Here is my irritating issue.
I'm having two entity beans
One is Film and another one is Copy.
there is one to many relationship between them (there can be many copies of one
film).
I have created a web form were i put the film data and the count of copies.
Then in the bussiness code I'm cr
Here is my irritating issue.
I'm having two entity beans
One is Film and another one is Copy.
there is one to many relationship between them (there can be many copies of one
film).
I have created a web form were i put the film data and the count of copies.
Then in the bussiness code I'm cr
Here is my irritating issue.
I'm having two entity beans
One is Film and another one is Copy.
there is one to many relationship between them (there can be many copies of one
film).
I have created a web form were i put the film data and the count of copies.
Then in the bussiness code I'm cr
Here is my irritating issue.
I'm having two entity beans
One is Film and another one is Copy.
there is one to many relationship between them (there can be many copies of one
film).
I have created a web form were i put the film data and the count of copies.
Then in the bussiness code I'm creati
I've managed to fix this issue at last. I'm using Oracle Express database.
Unfortunately JBoss is not reading this hbm2dll property while deploying the
application. I had to configure the persistance.properties file in the
ejb3.deployer folder. That was the solution...
View the original post :
Although i have his line in my persistance.xml file
the database gets recreated each time the application is deployed or the server
is shutdown.
Any clue on what is the reason?
tzablock
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911769#391176
Ok I've already solved that one :D:D:D:D:D
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911766#3911766
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911766
---
Th
Ok here's my painful problem:
while deploying par file I get this sort of exception:
org.hibernate.MappingException: property not found: CompanyId on entity
pl.com.filmservice.par.Film at
org.hibernate.mapping.PersistenetClass.getProperty(PersistentClass.java:352)
and so on
well this thing
Thank you very much it has solved the problem.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3911748#3911748
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3911748
--
th new ones, so everything that was
inserted into the tables is deleted.
The second issue is that I don't want Jboss to create the database each time it
gets up - I'd just like to map @Entities to the existing DB schema.
I'd be grateful for any help.
tzablock.
View the origina
th new ones, so everything that was
inserted into the tables is deleted.
The second issue is that I don't want Jboss to create the database each time it
gets up - I'd just like to map @Entities to the existing DB schema.
I'd be grateful for any help.
tzablock.
View the origina
43 matches
Mail list logo