Yes, I got this to work by switching from the hibernate session factory
configuration to the persistence.xml configuration.
I could, however, still use my .hbm.xml mapping files that are deployed in a
har file.
View the original post :
Ron, thanks for the detailed answer. That really clarifies everything.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4185192#4185192
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4185192
Yes, this was definitely working in JBoss 4.x and in the JBoss 5 Beta releases.
AFAIK, all the ClientLoginModule does is set the SecurityAssociation principal
and Credential.
For example, 8.5.3.10. ClientLoginModule in the JBoss 4 guide says:
anonymous wrote : The ClientLoginModule is an
I had a few questions about changes in the server/conf/jboss-service.xml file
between the JBoss 5 beta releases and the CR releases.
1) I noticed that the jboss.remoting:service=Connector,transport=socket MBean
had changed. In particular I noticed that the handlers section defined in the
I tried this using the following jndi.properties file:
|
java.naming.factory.initial=org.jboss.security.jndi.JndiLoginInitialContextFactory
| java.naming.provider.url=jnp://localhost:1099
|
I then set the following in my client:
| Properties env = new Properties();
|
OK, when I try to do it with a real JAAS login, it works.
My client looks like this:
| SecurityAssociationHandler handler = new SecurityAssociationHandler();
| SimplePrincipal user = new SimplePrincipal(principal);
| handler.setSecurityInfo(user, password.toCharArray());
| LoginContext
I posted a message to the EJB3 forums about remote client EJB security not
working on JBoss 5 CR2 when directly setting the principal/credentials on the
SecurityAssociation or by using the ClientLoginModule.
http://www.jboss.com/index.html?module=bbop=viewtopicp=4182511
I was able to login
Thanks, I posted this message on the security forum to see if I get an answer:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4182527
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4182528#4182528
Reply to the post :
I'm trying out JBoss 5 CR2. I have an EJB application that uses dynamic login
config. The application seems to deploy fine, and my security configuration is
correct, because I can access the application from a Web interface.
But when I try to authenticate with the same user from a remote EJB
I looked at this again with JBoss 5 CR2, and it still seems like passivation is
enabled in two places. The cache configuration I had listed as #2 above has
moved into the following file however:
jboss-5.0.0.CR2\server\all\deploy\cluster\jboss-cache-manager.sar\META-INF\jboss-cache-configs.xml
So does anybody have the final word on whether this functionality will be in
JBoss 5 or not?
If it will be in JBoss 5, any ideas on what I am doing something wrong in my
code? Or is the functionality broken right now?
Thanks.
View the original post :
In case you're trying this out on JBoss 5 CR2, to get this to work I had to use
the following service:
| server
|
| mbean code=org.jboss.remoting.transport.Connector
|
name=jboss.remoting:type=Connector,transport=sslsocket3843,handler=ejb3
| attribute
wolfc,
I'm not sure what you mean. I'm trying to inject a session factory into the
bean. According to section 5.2 of this link, this is a supported feature:
http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/hibernate.html
I also verified that this works in the Beta
I'm trying to figure out how to inject a SessionFactory into an EJB in JBoss
5.0.0 CR2. I'm getting the following error:
| 23:26:32,125 ERROR [AbstractKernelController] Error installing to Real:
name=vfszip:/C:/jboss-5.0.0.CR2/server/enterpris
| e/deploy/video.ear state=PreReal mode=Manual
BTW: the variables I show in the video-hibernate.xml get populated with real
values when I build.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4181137#4181137
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4181137
I'm playing around with JBoss 5.0.0 CR2.
I have tried binding EJB Stateless session beans using annotations and using
deployment descriptors, and they both seem to work fine separately. But, when I
define a bean with the @LocalBinding and @RemoteBinding annotations and then
try to override the
I'm trying to inject an EJB into a Servlet in JBoss 5 CR2. I have an ear called
video.ear. The ear has a video.war, video.jar, and video.har in it (though the
har should be irrelevant).
The binding
Here is my Servlet Code:
| public class VideoServlet extends HttpServlet {
|
So is this a bug in CR1? Has anybody been able to get dynamic login to work?
If possible, could somebody point me to where the unit tests might be for this,
because I couldn't seem to find them.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4173834#4173834
OK, I just tried this out on CR1, using the same code that I got to work on
Beta4, and it doesn't seem to work. Did something change again?
Here is the service:
| server
| mbean code=org.jboss.security.auth.login.DynamicLoginConfig
| name=jboss:service=DynamicLoginConfig
|
So is this an oversight in the DTD?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4171410#4171410
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4171410
___
jboss-user mailing list
Looking at JBoss 5 CR1, the documentation in the jboss-web_5_0.dtd file does
not mention the ACCESS replication-trigger value, but the code seems to support
it based on the org.jboss.metadata.web.jboss.ReplicationTrigger.java class
Excellent, that worked! Thanks a lot!
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4149934#4149934
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4149934
___
jboss-user mailing
I gave up on this with Beta 3, but I just came back to it on Beta 4 and I'm
still getting the same error. Does anybody have any insight as to what the
problem may be?
BTW: Those SVN links you posted are no longer working, can somebody point me to
the new location of the EJB3 SSL tests /
I have the same problem that I have posted in another thread:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4148046
Aparently, the JBoss unit tests work (which I haven't verified personally), but
I can't seem to get it to work in my environment.
View the original post :
I had a WAR file, but that is what the problem was. I had to move the
dynamic-login.xml file to the WEB-INF/classes directory.
One thing that should be noted is that (I think) the default file that the
dynamic login config service looks for is not available in this new strict
classpath.
View
Does anybody know if this is a known issue, or should I open a bug?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4131879#4131879
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4131879
It seems like I'm doing everything the same, but I get the following error on
the server:
| 14:36:15,468 ERROR [ServerThread] Worker thread initialization failure
| java.lang.reflect.InvocationTargetException
| at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native
Dynamic login config does not work in Beta4, but I verified that the same code
/ configuration worked in Beta3.
The exception is:
| 17:05:55,015 ERROR [AbstractKernelController] Error installing to Start:
name=jboss:service=DynamicLoginConfig state=Create mode=Manual
I couldn't find a bug for this, so I created:
http://jira.jboss.org/jira/browse/JBAS-5232
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128982#4128982
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128982
I've tried deploying a HAR in JBoss 5 Beta 4 (both inside and outside of an
EAR) and I get the following. I verified that the same exact code works in Beta
3. Is this a known issue?
| 21:10:08,156 ERROR [AbstractKernelController] Error installing to Start:
name=jbia.har:app=Video
So has anybody been able to get EJB's working over SSL in JBoss 5, or is this a
bug?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4128356#4128356
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4128356
I'm trying to get a standalone client to communicate with an EJB over SSL. I
tried following the directions here, but they didn't work:
http://labs.jboss.com/jbossejb3/docs/tutorial/ssl/ssl.html
It complained that it didn't know what jboss.aop:service=AspectDeployer was.
I figured that is
Yes, that's exactly the problem, if its a pure JRE installation, it doesn't
have the server directory. Do we need to open up a JIRA issue for this?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126211#4126211
Reply to the post :
I created: http://jira.jboss.org/jira/browse/JBAS-5206
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4126216#4126216
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4126216
___
On windows, I can't seem to undeploy a file from JBoss by deleting it from the
deploy directory while JBoss is running because JBoss seems to keep a file
handle open to the archive. I've tried this with EAR and WAR files. I didn't
have this problem on JBoss 4. If I'm not mistaken, this issue
From what I understand JBoss 5 is supposed to be able to start with just a JRE
and uses the Eclipse JDT library to do all its dynamic JSP compiling.
However, when I try to start the default configuration on Windows using
run.bat, or run.sh from Cygwin, I get the following error:
| $
No.. neither run.bat nor run.sh works from cygwin or from a command prompt..
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4125900#4125900
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4125900
I'm running JBoss 5.0.0.Beta3, and when I try to start an application that has
EJB security defined in the META-INF/ejb-jar.xml file and a JMX service bean
defined via an @EJB annotation, I get the error seen below. Am I doing
something wrong? If this is a bug I'll file a JIRA issue and upload
http://jira.jboss.org/jira/browse/EJBTHREE-1186?watch=true
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123631#4123631
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123631
___
I created JIRA issue JBAS-5173 (http://jira.jboss.org/jira/browse/JBAS-5173)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4123511#4123511
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123511
I discovered a bug when you have whitespace in jboss-web.xml in JBoss
5.0.0.Beta3. I have a simple JSF application, and when I use the following, my
application works fine:
| ejb-local-ref
| ejb-ref-nameejb/Calculator/ejb-ref-name
|
I'm trying to call an EJB with security annotations set on it, but only some of
them work properly. Here is the EJB that I have:
| @SecurityDomain(simple-security-domain)
| @RolesAllowed( { bank-manager, teller })
| @Stateless
| public class StatelessCalculatorBean implements
So is this a bug? Any insight?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4122862#4122862
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4122862
___
jboss-user mailing list
I've yet to verify, but it looks like passivation is enabled twice for stateful
session beans in the all configuration of JBoss-5.0.0.Beta3.
1) In server/all/conf/standardjboss.xml, the container for Standard Stateful
SessionBean has the StatefulSessionFilePersistenceManager persistence
The server/xxx/conf/jboss-service.xml file in JBoss-5.0.0.Beta3 still has
references to the JRMP, Pooled, and Local invokers using the pre-JBoss Remoting
detached invoker model. Since the unified invoker supports configuration for
these protocols, what is the point in keeping them around
I tried to get the Flex + Seam example from the wiki working, using the
instructions they give:
anonymous wrote : 1. extract files to the
SEAM-HOME/examples/remoting/helloworld/view dir
| 2. run ant
| 3. deploy seam-helloworld.ear
| 4. Open a browser and go to
Thanks for the response. What versions of Seam and JBoss AS did you use?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4116207#4116207
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4116207
Unless the installer knows how to detect the OS and download the appropriate
library off the Web.
I guess the other question is whether the binary distribution will come
prepackaged with the APR native libraries. That would necessitate different
downloads for different OSes.
I guess the way
When I start JBoss 5 Beta 2, I get the following error:
anonymous wrote : 17:12:33,406 INFO [AprLifecycleListener] The Apache Tomcat
Native library which allows optimal performance in production environments was
not found on the java.library.path:
I'm assuming that at this point you have to
Thanks Brian.
http://jira.jboss.com/jira/browse/JBAS-3885
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988953#3988953
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3988953
___
I forgot to mention that I've started the nodes in different orders, and it is
always the second node that throws this exception.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3988708#3988708
Reply to the post :
I'm trying to bring up a vertical cluster (Jboss 5.0.0Beta1) using virtual IPs
on a Windows XP box. I've created two copies of the all configuration called
node1 and node2. I start them in different console windows as follows:
./run.sh -b 192.168.1.140 -c node1
./run.sh -b 192.168.1.141 -c
No you don't. If you read the #1 option under the link that you sent me, it
tells you how to do it without the ServiceBindingManager.
You can start multiple nodes so long as you bind them to different network
addresses running on the same machine. This is what I did using the -b flag as
I
rajeshchande,
Just to clarify, there is no concept of a serialUID for the JDK itself, it is
on a class by class basis. You could have some classes that change between
minor versions, and others that don't.
View the original post :
One workaround is to load balance across two clusters and bring one cluster
down at a time in order to deploy the changes. I've seen a few 24/7 production
environments that do this, but it won't work for every architecture.
View the original post :
I'm messing around with the HTTP Session Passivation feature in JBoss 5.0.0
Beta1 for the first time, and I'm a bit confused about something: do I need to
configure *every* node in my cluster to do passivation, or just a single node?
My gut instinct is that it should work either way (which I'm
I know this is a late reply, but...
Section 3.7 of the hibernate docs tells you that if the id is null (transient
object), then it will persist, but if the id is populated (detached object)
then it will merge.
You have a transient object.
Do you have the app populating the register form with
Wonderful!
I was just putting together a small clustered environment to test this first
hand. I think I'll go ahead and prove it to myself anyways. :)
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958546#3958546
Reply to the post :
The incorrect components.xml documentation is here:
http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#d0e554
This should probably be updated to have the correct jndiPattern.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3958298#3958298
Reply
The current SEAM documentation shows the contents of the components.xml file as
follows:
components
|
| component name=org.jboss.seam.core.init
| !-- JNDI name pattern for JBoss EJB 3.0 --
| property name=jndiPattern#{ejbName}/local/property
| /component
|
One thing that I found was that you have to have a seam.properties file in your
EJB jar file. For this example (the registration example) it will just be an
empty file. If you don't put the seam.properties file in place, you will get
those conversion errors.
If turn on debugging and look in
61 matches
Mail list logo