Disabling the cache of login credentials affects the credentials of the subject
/ principals.. However I am changing the method permission of an ejb session
bean. The credentials are used to act on the ejb method... I am changing the
ejb side permissions not the subject side credentials,...
sounds like a bug.
could you give some more information ?
like what error etc?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963966#3963966
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963966
rob: don't we plan on allowing people to migrate their existing configurations
into your stuff ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963967#3963967
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963967
More by accident I found this docu here.
I think it has anything we need to change DBs.
The first link contains the needed links to other DBs.
Have fun!
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources
This seems to be the original docu:
Becka wrote : After a Import, the Package explorer stays empty.
| If i restart eclipse i get the error An internal error occured during:
Initializing Java tooling
|
| EDIT: The Package Explorer shows the imported Project, but only the Project
name, i cant expand it to work with the
During simple tests i found, that it woks if you change the jbpm entry in
clathpath to the one of the new version.
- create new process project
- open .classpath of this project
- copy jbpm version
- open existing project folder
- open .classpath
- change the jbpm version
- import
- have fun
When you say 'nothing happens' do you mean that the page reloads but the action
method on the backing bean isn't called? If so, then put a h:messages JSF tag
on the facelet and see if you have any errors resulting from validation,
conversion or model-update.
I also noticed that you outject the
Hello,
We're running a productive Application von JBoss 3.2.3 with Tomcat 4.1.29 for a
while now.
Since the Server should be partially opened to the Internet now - I have the
task to define security-specs for this server.
Of course make sure all Win-Patches are in place, update the Apache is
Looks fine to me. Perhaps sf was having a temporary hiccup.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963983#3963983
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3963983
___
This all very much depends on your desgin choices. Look at
http://blog.hibernate.org/cgi-bin/blosxom.cgi/Gavin%20King/stages-of-adoption.html
which quickly runs over various possible patterns.
My preferred technique is to use a conversation. I use a seperate backing bean
for create and edit
I don't use this so I'm not 100% but looking at it, it seems to me that if the
user is logged in the invocation proceeds as normal, if we are in phase other
than INVOKE_APPLICATION (e.g. updata data model) and not logged in then the
method called is invoke but the invocation chain is not
s:link is an extension of outputLink that allows actions to be called not a
UICommand (commandLink/commandButton) so it doesn't submit the form.
Famous bug? UICommands will definitely call action methods!
View the original post :
Surely you will have lost all the data associated with the pageflow at this
point (e.g. any updates to entities will be lost) so the pageflow would have to
start again? If you can come up with a sensible usecase the seam team is
normally very good at applying a fix.
View the original post :
As you can see from below, Jboss started but can not see JMX console altought I
was able to only yesterday. I reinstalled the program just in case and still
the same problem.
Can not see it on http://localhost:8080/jmx-console/
Please help.
Thanks.
Why not load all the rows at the start of a conversation and then only display
the ones needed - avoids too many dataloads (which I would assume you are
trying to avoid) and means you can use @DataModel/@DataModelSelection. Or
perhaps you could lazy load the data - when the next button is
Stateless beans are only useful if you want to invoke one of their methods
without doing anything else with them.
But if you have a state that should be held (e.g. user filled in fields) you
need a STATEFUL bean. To distinguish between new and existing entities you can
call two different
Hello,
Beginning in J2EE, I wish to develop my first applicationweb. I use for this
JBoss 3.2.3 (for reasons of compatibility with the JDK 4 and it plug-in
JBoss-IDE 1.4.0 of eclipse).
I succeeded in deploying the servlet. I am in stage of creation of Ejb Session.
I parameterized the file
Found the problem.
I was using Oracle 10g express edition with it.. When shutdown oracle server it
worked. Strange.
Regards.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3963994#3963994
Reply to the post :
My EAR application (containing three sar archives, a war archive and a jar
archive) deploys and runs like a dream.
However after I redeploy the ear, the application is broken. I get no errors on
redeployment, but when I try to access the web part of the application I get
the following error:
Thank you for your reply,
My goal here is to avoid loading a large batch of data all at once and do a
lazy load as you say.
So I tried to attach an action listener on the scroller and catch when a user
hits the forward button. However I got the following NullPointerException:
|
the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements
ModelServiceMBean {
public ModelObj getModelObj(String id) {
ModelObj obj = new ModelObj();
some action here;
returen obj;
}
}
ModelObj is a simple pojo I defined,there're only some getter
Hello everyone,
Why does the JNDIView MBean not list my web modules, only the ejb modules (and
global spaces)?
I am binding some JNDI entries using the JNDIBindingServiceMgr, and have added
appropriate entries to my web.xml and jboss-web.xml, but when retrieving the
entry from my web module I
Hi all... Am a newbie with JBoss. Will be grateful for any help here...
The problem I have is: JBoss shuts down on its own after a password change
process, following several failed attempts. It is uncertain if this is a JBoss
problem; I suspect that the shutdown is triggered by something in the
Hi everyone,
is there a Property Editor available with JBoss that I can use to convert ISO
dates (e.g. 2006-08-09 11:54:20) to a java.util.Date?
org.jboss.util.propertyeditor.DateEditor does not seem to be capable of this
standard format.
I know I can easily implement my own PropertyEditor,
What u mean by saying that at no point I create an authorName to write into?
Yes, is like the method is never called when I hit enter. I ll try with the
h:messages to see what happens. And thx
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964001#3964001
how to get a user definition object invoked by mbeanserver in web service
I just can't cast the returned object to my defined object
the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements
ModelServiceMBean {
| public ModelObj getModelObj(String id) {
|
As always with design there are a multitude of ways to do the same thing, some
of which are vastly different, some of which are very similar. It will be nice
when the EJB3/Seam patterns set is a bit more developed!
I would suggest using a Seam Managed Persistence Context rather than an
In the code you gave there was neither
@In(create=true) private AuthorName authorName;
nor
...
| authorName = new AuthorName();
| ...
|
Do you create a new AuthorName object somewhere else in your code?
View the original post :
Lookup the container configuration Singleton Message Driven Bean...
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964006#3964006
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964006
Hi everyone,
I had installed JBoss in Unix. But when start the JBoss using the following
command
./run.sh
am getting the message
./run.sh: /home/cmpcore/jdk141_05/bin/java: not found
and i think its the problem with the classpath. So any can help me to solve
this problem? Please help.
ok I did the modifications you suggest about the inject name and I put
h:messages to my form. No I'm getting for all the fields the Conversion Error.
What that means?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964008#3964008
Reply to the post :
Hello
when a token reaches the end state, does it mean the token.hasEnded() return
true? At this stage, will taskInstance.hasEnded() return true?
regards
yang
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964009#3964009
Reply to the post :
This not Works
@WebMethod
public void doReport(@WebParam(name = user) String user, @WebParam(name =
pwd) byte[] pwd, @WebParam(name = terminal) String terminal, @WebParam(name
= amid) int amid, @WebParam(name = reportId) String reportId) throws
Exception {
}
and I receive this exception
yeah, I request the smtp server smtp.xyz.com to relay a message to [EMAIL
PROTECTED] and succeeded.Bbut it deny to relay message to other smtp servers,
since I'm not authenticated. Email account doesn't equals to smtp admin passwd
View the original post :
It is the same EJB, just with support for different databases.
In the three jbosscmp-jdbc I have different mappings for each of the databases.
This is for the different datatypes, i.e. TEXT/MEDIUMTEXT etc.
There are no way use several of these CMP mappings for each datasource ?
View the
I want to get an object defined by me through mbean in web service
the mbean implemetation:
public class ModelService extends ServiceMBeanSupport implements
ModelServiceMBean {
| public ModelObj getModelObj(String id) {
| ModelObj obj = new ModelObj();
| some action here;
|
the web service is developed by axis
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964014#3964014
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964014
___
jboss-user mailing
Hello,
i do have 2 Manged Entitys set up:
component name=bazProject
class=org.jboss.seam.core.ManagedHibernateEntity
| property
name=entityClassde.bafz.lims.model.Project/property
| property name=session#{bazDatabase}/property
| property
I guys,
i've the problem below.
We have to call, in a jar's class of a webapp, ejb deployed under JBoss or Bea
Weblogic (in the future, also in other AS).
For do that i've put wlclient.jar in ear root and update the manifest of my jar
with the wlclient.jar entry. Also work fine...but only for
Problem solved. Perhaps proxy stuff...
Thank you all
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964020#3964020
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964020
___
up
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964021#3964021
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964021
___
jboss-user mailing list
jboss-user@lists.jboss.org
Hi
i want to enable the jbpm logging in my application and also i want the info
regarding the logging customization ie i want to enable the logging at some
point of the application and disable the logging at some other point of the
application. can anyboby help me getting the clear
issue 1: ClassCastException is due to the fact that MDB EJB3 RC8 implementation
is not able to create topic/queue with another implementation than JBossMQ.
isue 2: If you create topic/queue using XML, you can go one step further. But
now the problem is that MDB EJB3 use a
ppradhan,
One thing that is not completely clear from your description is wether or not
the user has actually authenticated to servlet container. Just because the
login form is returned does not neccessarily mean authentication did not
happen. To be more specific...
Consider the case when a
Hi friends:
I want to use Microcontainer with tomcat server. But where should I place
the jboss-beans.xml? I place it under dir /WEB-INF/classes/META-INF,but I
couldn't get my javabean in my class. Should I config it into web.xml? How to
use the Microcontainer with web server. I mean
Looking for information on how to get user and role properties.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964034#3964034
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964034
It's not a classpath trouble, it's your JAVA_HOME that is incorrect, it's point
to : /home/cmpcore/jdk141_05
the run.sh use the JAVA_HOME like this.
$JAVA_HOME/bin/java
Regards.
Louis
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964035#3964035
Reply to the
I am no LDAP expert, but it looks like the LDAPLM is not providing correct
credentials when connecting to AD. Thus authentication of user is not even
attempted because connection to server is not authenticated.
cgriffith
View the original post :
P,
Can you show us how you are attempting...
anonymous wrote :
| I try to change the role based ejb3 method permission on the fly
|
thanks cgriffith
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964037#3964037
Reply to the post :
Thank God!
done!
haha
Hashtable env = new Hashtable();
| env.put(java.naming.factory.initial,
| org.jboss.naming.HttpNamingContextFactory);
| env.put(java.naming.provider.url,
|
matt10,
I would say this is an interesting use case. The problem with making client
unaware of buisness components is that you then have to come up with ways to
configure your client to do stuff with abstract notions of business objects.
In that case what you have done with annotation
ok, i would report this in our jira to let koen know about it.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964042#3964042
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964042
Hi Louis,
Thanks for the reply. Yes I found out that problem and i was able to solve
it. Now am getting another problem. When i start JBoss by giving the command
./run.sh and getting the following message,
run.sh: Missing file: /lib/tools.jar
run.sh: Unexpected results may occur. Make sure
cgriffith,
All my business beans do implement common methods as you describe.
InterfaceDef getIntfDef();
FunctionDef[] getFunctionDefs();
These methods inspect access and different types of functionality offered by
the session bean that only the bean knows about and return the full set of
It looks like a network configuration issue.
try to launch JBoss AS with:
run.bat -b 127.0.0.1
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964046#3964046
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964046
Hi,
I have two relationships between Employee and Order. One to get his started
orders and the other to get his finished orders:
Employee
---
codEmployee
Order
--
EmployeeFinalizer
EmployeeStarter
When I try to persist a new Order with different Employees it's all
oops...
little mistake...
anonymous wrote : when I recall the Employee with findEmployee() method I see
in my grafh:
|
| Employee - 01
| ---
| startedOrders - 01
| finalizedOrders - 01
when I recall the Employee with findEmployee() method I see in my grafh:
Employee - 01
Ideally the existing SecurityStore and configuration will remain for doing
per-deployment keystore configuration.
Optionally they should be able to refer to a JaasSecurityDomain, which would be
globaly configured. So there would be no need to dynamically create one. This
needs to be optional
This are great news! Do you think the customizable navigation portlet can be
used with JBoss Portal 2.4?
Thanks,
Alexander
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964052#3964052
Reply to the post :
Hi ALL:
I'm newer to JBoss EJB3 and Hibernate.
I encountered such a problem:I have a one-to-many relationship between
class A and B(A hold a list of B),when i delete one B object(through
em.remove(b)),it will raise exception
org.hibernate.exception.ConstraintViolationException:
If I have a handler that can extract a value from the HTTP request, is it
possible to then pass that value to the SEI? For example, the HTTP request for
my service is required to contain an ID parameter such as:
http://myip/myservice/service?id=abcd
The ID is required on all HTTP requests to
I have a method in a session bean called JobServiceBean. The method is as
follows:
@RolesAllowed(Recruiter)
public void outputJunk() {
System.out.println(###);
}
Now after authentication using JAAS, I am writing code to change the
@RolesAllowed
At the moment, it seems JbossWS doesn't impement Jax-WS.
And WebserviceRef annotation exists as a name, but it is without implementation.
Anyone of JBoss Staff can confirm ?
Bye
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964056#3964056
Reply to the
yuan_hang wrote : Because unit test use embedded-ejb, so the configuration
should like this:
|
| | components
| |
| | component name=org.jboss.seam.core.init
| | property name=debugtrue/property
| | property name=myFacesLifecycleBugtrue/property
| |
AFAIK, it is possible to mix(overwrite) annotations and deployment descriptors
according to the spec.
I have a bunch of SLSB and SFSB which all are annotated. I now want to move
them in a clustered environment, and so wrote a tiny tool that generates a
jboss.xml file which mainly adds the
When will JBoss 4.0.4 SP1 be released for downloads ?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964060#3964060
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964060
___
Hi JBoss Community!!
I'm here on last beach (that is, I'm at the end).
The one that runs following codes will be a genius:
http://slide.altervista.org/HelpMe.rar
Server side works great: it is a stateless with a webmethod
Client side: I would shoot me- it is a stateless which I would contact
Hi,
I have a problem with RMI and a stateless EJB.
I got a Client GUI, Client IF (annotated with @Remote), and Client Impl. On the
server side I have a stateless (@Stateless) component that implements a
ServerInterface (via @Remote). When the client contacts the server and passes
itself (via
Hi, previously I have been using Struts and am now considering using Seam for
my web applications.
In Struts, the requested URL is used to find an action in the struts-config.xml
(controller configuration), and Struts then invokes my Action class and finally
displays the JSP or other view
up,up.
help me!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964065#3964065
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964065
___
jboss-user mailing list
Not sure if this is the reccomended strategy, but in your EJB impl class,
simply forward all WS message objects to a queue.
Then, define an MDB that listens to that queue, and that handles each WS object
in the onMessage() function. That way, your WS messages will be delivered
immediatly,
Hi,
I have to make a web application with EJB3 entity bean and also a web service.
I have installed JBOSS 4.0.4.GA (with EJB3) and I have learned EJB3 with the
laliluna tutorial (http://www.laliluna.de/download/ejb3-struts-tutorial-en.pdf.
It work pretty fine but now, I want to test Web services
I am getting similar exception. I am using jboss-4.0.4 version.
while request url http://localhost:8009/
22:53:04,734 ERROR [MsgAjp] BAD packet signature 18245
22:53:04,734 ERROR [ChannelSocket] Error, processing connection
java.lang.IndexOutOfBoundsException
at
Hi!
I am runnig a Seam application inside a portlet (using the
MyFacesGenericPortlet). I now need to access some of the user attributes stored
within the portal.
Usually I would do something like
| Map userInfo = (Map) request.getAttribute(PortletRequest.USER_INFO);
|
but it seems I
Hi folks,
Just joined this forum. JBoss is completely new to me. I expect to explore it
getting to know its application. Please advise;
1) Which packages shall I download for testing at start?
2) I shall run Ubuntu-alternate-6.06 as OS. Unless I must build the OS myself
then I shall head
Hi,
If the use-java-contextfalse/use-java-context is used in the JNDI mapping,
does anyone know if this has any impact on performance ?
We have a number of standalone applications that will access JNDI resources
running on JBoss in addition to some web applications running under JBoss. The
I started to write a patch based on the branch used for EJB3 RC8 but I do not
terminate it when I see that the code for MDB in the main branch as been
completly refactored (I did not try to rebuild main branch).
Writting a patch would have been a very short term action.
View the original post
You may have better luck getting an answer if you post on the Tomcat forums at
http://www.jboss.com/index.html?module=bbop=viewforumf=50
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964076#3964076
Reply to the post :
I've made progress. Now, when I try to login, I get one of two errors. First,
when trying to parse the SPNEGO token I sometimes get an IOException: Not a
Type 3 message. Othertimes, it falls through the section of code
NegotiateUtil.java where it says: // TODO: Implement SPNEGO Handling
Any
Julien said we should use the management portlet to create the instance for
remote portlet ealier in this thread. Now you said we couldn't. I am a little
bit confused. The weather portlet (under
samples/src/main/org/jboss/samples/portlet/weather) seems to be just a portlet
that retrieve
Hi!
Have you already done Jboss Kerberos integration?
Do you know any documentation?
Could you help me?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964081#3964081
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964081
Hello,
anonymous wrote : The only difference is that bazProject is used in an html
page while bazExperiment is not.
That is the difference.
I accessed bazExperiment in a html page and..
voila it is injected.
If i do not access such a component in a html page it won't be injected.
Gavin can you
Using the latest 2.0.0.alpha1.
I created and am using the new way to define my JBoss Server (using the Server
view, I can see my server and I can start/stop it).
However, I like the way of creating run and debug configurations so I can start
my Jboss server from that mechanism. So, in the
I have a question regarding the 'Standard CMP 2.x EntityBean with cache
invalidation' container configuration vs. 'Standard CMP 2.x EntityBean'. I know
what both of these do. My question is this. When would I ever want to use
'Standard CMP 2.x EntityBean' because 'Standard CMP 2.x EntityBean
As of 1.0.x, JBossMessaging is not clusterable (Clustering isn't implemented
yet). This is the next task in 1.2
Thanks
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964086#3964086
Reply to the post :
Thank you,
we found the problems solution:
topic was published with 5000 millis timeToLive, but there was a differenc in
system time of the 2 nodes in the cluster. Therefore the message had a time out
on this node. Setting timeToLive to 0 resolved the problem.
TopicPublisher publisher =
My application has an ear called kr.ear. This ear has a kr.jar, which contains
all the ejbs and a kr.war which contains the jsps etc.
The contextID i am using in this case is kr.jar, since my ejbs are in the
kr.jar archive.
-P
View the original post :
Importing the portal-2.4.0-CR3 there are three common projects (the name of the
project in the .project file is common). The identity project is named
common in the .project file and the Test project is named common in the
.project file also.
Also the bridge project is named portal-cms in the
Concerning the exception, it looks like there might be a problem with the
binding framework. Did you put jboss-xml-binding.jar from JBoss XB 1.0.0.CR6 in
both the client AND lib directories of your JBoss installation?
danny_hon wrote : Julien said we should use the management portlet to create
I agree, it is possible to extract WS Security header from incoming messages by
replacing the PortHandler with my custom one, but how can I add authentication
to outgoing messages?
Here is your code (PortCaller.java):
197 // retain only parts specified by soap:body keeping the
My site has EJBs, JSP pages, custom tag libraries, and a couple of servlets.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964095#3964095
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3964095
The rest have been answered in the other post. Ill try and answer the one that
isnt answered there.
dpocock wrote :
| b) for the register.seam URL, does JSF/Seam simply look for a JSP file with
the same name, e.g. does it look for register.jsp, or if I put the URL
help.seam, does it look
This is a known issue, and I'm not entirely sure what's causing it, however the
alpha1a release contained another bug which prevented me from getting the
needed feedback from users.
Basically, in the JBoss Server View, I've added an Event Log to document
what's going on during the server
[EMAIL PROTECTED] wrote : Changing of jsp and css files and automatically
deploying them to an exploded directory is not yet implemented, but is planned
for the 2.0 final release.
Sounds nice. When is it planned to be released?
In the meantime, how do i fix this? I read somewhere that you
I have been trying to get access to the CMSservices object in my portlet
application.
I am able to grab the CMSService context attribute but the service is always
null.
CMSService = (CMS)getPortletContext().getAttribute(CMS);
if(CMSService == null)
throw new
OK, I think that probably answers the question. I don't think the JMX remote
adapter service is deployed in my particular server instance.
How would this support such a deployment? I'm assuming if this needs the
remote JMX adapter to be deployed, and its not, then it will never know that
the
Hi,
I modified the com.jboss.resource.adapter.jdbc.WrappedResultSet to expose the
underlying ResultSet
One method is added.
---
public ResultSet getOriginalResultSet()
{
return this.resultSet;
}
---
I do not think
Dear cgriffith
A million thanks for pointing me in the right direction. I was indeed pointing
the container to the login form even when user was authenticated.
I was using sendRedirect () in my error page to go back to the login form. Once
I changed that to jsp:forward , things work perfectly.
I will probably add a preference / checkbox that allows that server's state to
be automatically set to 'started' after the timeout is reached. Thanks for your
help.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3964105#3964105
Reply to the post :
petemuir wrote : Surely you will have lost all the data associated with the
pageflow at this point (e.g. any updates to entities will be lost) so the
pageflow would have to start again?
I agree. However, shouldn't the data from previous steps be saved in the
database (I'm not doing anything
1 - 100 of 201 matches
Mail list logo