anyone?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116307#4116307
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116307
___
jboss-user mailing list
jboss-user@lists.jboss.
A new release of the EJB 3 module is available bundled into JBoss Application
Server 5.0.0.Beta3.
"Rajesh Rajasekaran" wrote : JBoss Application Server 5.0.0.Beta3 is out, right
in time for the holidays.
|
| Download it from sourceforge
|
http://sourceforge.net/project/showfiles.php?grou
HI,
I want my .sar file which is deployed on jboss should not print INFO messages
on console . I downloded the necessary documents for how to
use the log4j.properties file for the application to use its own logging
mechanism . But dear guys, that documents are for .war file only . I have
se
HI,
I want my .sar file which is deployed on jboss should not print INFO messages
on console . I downloded the necessary documents for how to
use the log4j.properties file for the application to use its own logging
mechanism . But dear guys, that documents are for .war file only . I have
se
My JBoss AS 4.2.1 GA suddenly will not start. I am using it with Sun Java 1.6.
It has been working in the past but I had to reboot my server and now it fails
to start with the following error in the stack trace:
| 21:31:20,637 WARN [BasicMBeanRegistry]
javax.management.MBeanRegistrationExce
While integrating Jboss with eclipse, in eclipse, software updates and install,
i took the plugin from URL
http://download.jboss.org/jbosside/updates/stable.
But its not able to copy
SeamTools Feature (2.0.0.GA) requires feature
"org.eclipse.datatools.connectivity.feature".
I unchecked above an
Correct me if I am wrong, but I believe ejb's are still secured by containers.
You can set up a declarative security policy with use of xml tags in the
ejb-jar.xml for the container or roll your own with JAAS. If you are using JAAS
then acegi security is out of the question. If you are using xml
Hi,
I have made available for download a work in progress to getting a sample
project going with Seam2 building and testing using Maven2 and JBossEmbedded.
I thought a lot of the issues would be solved since there is a root pom
provided for Seam (and hence the dependencies would be managed for
If you put a @Restrict on your action method with the same security expression
as your button then it will throw an AuthorizationException if the security
check fails when the button is clicked.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116297#4116297
Apologies, the post got submitted by accident before I had completed it.
I have a complete example of using Seam2 with Maven, however I first need to
locate a place to upload the archive to and I'll post a new topic with a link
to it, and notes on how to use it.
View the original post :
http:/
Your code looks fine to me. Does the remoting/helloworld example work for you?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116296#4116296
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116296
___
It is impossible? What do I manage exceptions on the same page where the error
occurred?
thanks
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116295#4116295
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116295
I've been trying to get Seam2 building and testing within Maven 2.
I whipped up the attached
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116293#4116293
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116293
_
I have a stateful session bean. The bean brings up button A if you are a User
and button B if you are a Super User.
the bean uses a non SMPC Extended Persistence Context and has Session Scope.
Both buttons A and B call @Transactional methods that update the database.
I am testing this applica
Seam Security is currently not integrated with container security, so at this
time you need to choose either one or the other.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116290#4116290
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=post
I have tried to copy/edit files to create what I needed and it appears to work.
The question is simply is it correct?
sec_ds.xml
|
|
|
|
| secDatasource
|
| jdbc:mysql://localhost:3306/selwyn
|
| com.
Yes, ServletContexts.getInstance().getRequest() will return the
HttpServletRequest instance.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116289#4116289
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116289
_
I just tested the GWT example in latest CVS (after doing a clean build) and it
works fine. Your URL (http://localhost:8080//seam/resource/gwt) seems to be
missing the context path, perhaps that is your problem?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4
Hi there,
When I hit my JSF application (URL: http://localhost:8080/myapp/index.jsf)
deployed to Jboss-portal I get Exception below.
My environment:
+ jboss-portal-2.6.2.GA
+ jdk1.6.0_03
+ Windows XP
2008-01-01 12:51:30,703 ERROR
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost
Seam-managed persistence contexts are conversation-scoped, so you'll need to
use em.merge() to merge the changes in your session-scoped (i.e. unmanaged)
entity.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116285#4116285
Reply to the post :
http://www.jbo
Seam is LGPL, but beyond telling you that we're not allowed to give you any
legal advice here ;)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116286#4116286
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116286
_
Thanks Ales...That explains itSo then I have my EAR file with ejb3.jar
(ejb3 module) and spring-inject.jar (spring module) and ejb3.war (web-module) .
I also have my ejb 3 as :-
package com.ejb3.beans;
|
| import static javax.ejb.TransactionAttributeType.REQUIRED;
|
| import java
"ragavgomatam" wrote : Alright Andy do we have any clues here ?
I'm best able to determine bugs if provided with a slimmed-down use case
exhibiting the error in question. Would like to know how to duplicate:
java.lang.NullPointerException
| at
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restor
Yup through:
*Template
SharedEntityManager
@PersistenceContext
SessionFactory.currentSession()
You can make your existing spring persistence code work with a conversation
scoped persistence context without changing your code. Simply configure the
use of a different EntitityManagerFactory of Se
Seam currently doesn't support generating a new session in the middle of a
request, however the owasp.org page you cited contains a great list of points.
Feel free to raise this in JIRA and assign to me (and please include the URL to
the list), that way it won't get swept under the rug.
View t
We have non-seam component entity - Client.class
We outject it to session context while logging in:
| @In(required = false, value="client")
| @Out(value = "client", required = false, scope = ScopeType.SESSION)
| private Client user;
| @In
| private EntityManager em;
|
Hello,
OWASP has compiled a "top 10" vulnerablilities for web applications.
One suggestion against session hijacking was the following: Start a new
HTTP-Session after a successful login:
"Consider regenerating a new session upon successful authentication or
privilege level change."
http://ww
anonymous wrote :
| I downloaded this directly to my $JBOSS_HOME/server/default/deployers
|
That's all you need to do.
It's all there.
This is a normal jar file, it just has different suffix, to emphasize that it's
a deployer archive.
You don't need any -service.xml file, hence no more MBea
Is it possible to have a conversation-scoped persistence context (or Hibernate
session) inside a Spring-based "stateless" DAO, which is not a Seam component?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116274#4116274
Reply to the post :
http://www.jboss.
For what it's worth, I found a workable solution in my case. I'm using Spring
anyway instead of EJB, and I really only need Spring beans for my console
applications. The problem was that I configured Spring/Seam to use Seam-managed
(conversation-scoped) Hibernate sessions via the SeamManagedSess
Found the cause. It appears that the new jboss-spring.jar under Spring Deployer
3.0 does not have JMX MBean classes in it. Check ou the error I get.
Caused by: javax.management.NotCompliantMBeanException: Class does not expose a
management interface: java.lang.Object
| at
org.jboss.m
I tried to deploy the Spring Deployer 3 on Jboss 5 beta 3. I get the following
error:-
15:39:05,375 INFO [TransactionManagerService] Binding TransactionManager JNDI
Reference
| 15:39:19,922 ERROR [AbstractKernelController] Error installing to
Instantiated: name=jboss.spring:service=SpringApp
Hello,
Is there a special way to deploy the latest Spring deployer 3.0. Is this a Zip
archive or is there a special way to deploy this ? I downloaded this but this
seems to be a DEPLOYER file. What is this & how should I install this? I did
the following :- I downloaded this directly to my
$JB
Alright,
Well, sorry for being so annoying but I still don't get the point,
If I have buttons that should start a conversation, propagation='none' is not
an option,
big part of my buttons start a new conversation, so no matter what, I find
myself adding join=true, at least for these buttons,
I really appreciate your taking time to respond. I've attached the items you
requested as well as the contents of the two jar files, Customer.jar and
CustomerClient.jar which are contained in the ear file. Let me know if I can
provide any other info. Thanks.
Here is the application.xml
|
Alas, I am developing my application on WebLogic 9.2, so I don't think JBossWS
is an option for me according to this:
http://jbws.dyndns.org/mediawiki/index.php?title=JBossWS
Looks like I might just have to settle for a hybrid solution. Seam for
publishing services and Spring Web Services for
Extending/overriding built in seam components if needed for more complex use
cases is often the right way to do it - we would definitely encourage you to do
this...
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116264#4116264
Reply to the post :
http://www
I'm no expert on web services (Shane is currently on vacation) but I would take
a look at JBossWS - this should allow you to consume WS.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116263#4116263
Reply to the post :
http://www.jboss.com/index.html?module=
I am interested in doing this, as well. The project I'm working on is a web
application, but it also includes some command line utilities for certain
administrative tasks. One of the things I like most about Spring is its ability
to be bootstrapped outside of any web container. Is there any way
not working?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116259#4116259
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116259
___
jboss-user mailing list
jboss-user@lists.j
"trouby" wrote : what's the difference between a new conversation starting from
the same bean instance or from different bean instance?
|
I think that they are the same. Both of them create new conversations with new
ids.
"trouby" wrote :
| why the behavior is different?
| I think that t
hi, i'm having the same problem. and it seems the visit to only 1 db is allowed:
my code is like:
| codes visiting application-based database;
| ...
|
ManagedJbpmContext.instance().getGraphSession().findLatestProcessDefinitions();
|
output:
| 2008-01-02 00:43:55,015 WAR
i forgot to post the hibernate.cfg.xml:
|
|
| http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
|
|
|
|
| false
| java:/jbpmDatasource
| org.hibernate.transaction.JTATransactionFactory
| org.hibernate.transaction.JBossTransactionManag
The swimlane tab and 'right click' are do not exist any more at those places.
Those 'properties' are in the generic eclipse properties pane since GPD 3.1.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116254#4116254
Reply to the post :
http://www.jboss.com
Thank you for the reply, pete, you were right!
in my xhtml files, was a problem. it was like
http://www.w3.org/1999/xhtml";
xmlns:s="http://jboss.com/products/seam/taglib";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:f="http://java.sun.com/jsf/
YesCorrectWhen you deploy after the server is started, I get no ejb 3
errorsI still get errors but these are related to spring deployer being
bound to jndi...I have shown the errors belo.w..I will post it at spring-ejb3
forums...
08:41,938 INFO [SpringInjectionInterceptor] Instanti
I have done some additional monitoring now, maybe seam resets the userList
variable after it has set it?
I appendend the following code on the bean:
| @Observer("org.jboss.seam.beforePhase")
| public void checkBeforePhase() {
| log.info("before Phase happened ...");
|
"shoeb1981" wrote : Nodes come and go.
Thanks for your answer. Of course I mean the nodes at lookup time, I realize
that they may change.
I should be possible, the load balancing and failover logic is in the smart
stub, not on the server.
View the original post :
http://www.jboss.com/index.ht
ReallyI will try this & let you know...But I have Spring 2.0 Injecting
POJO's into Ejb 3I am also using the spring deployer in conjunction with
ejb 3. I had no problems with jboss 4.2.1 GA...It worked beautifullyAgain,
let me test it out as you suggested. I will remove my EAR & the
Hi,
Our application is currently deployed on Jrun 4.0 and we are planning to
migrate this to Jboss. Any tips on this migration will be of great help.
Thanks,
Ravi
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116245#4116245
Reply to the post :
http://www
OMG!!!
it works!!! finally after a long month (give or take).
thanks a lot peter, you the man!
the jboss folks should know about this no?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116244#4116244
Reply to the post :
http://www.jboss.com/index.html
Wouldn't it be more sensible to change your entity?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116241#4116241
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116241
___
jbo
You're correct. I use the Hibernate session solely for this purpose too.
I haven't tried the components.xml definition of it. I just create it in my
codeSession session = (Session)entityManager.getDelegate();Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=
tnx for the fast answer, not it works :)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116239#4116239
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116239
___
jboss-user mai
Uh, my mistake, EM is bound per conversation,
So there is no solution for this need?
The logged user may have many lazy relationships which are sometime accessed
directly by the view,
I find myself doing stuff like:
loggedUser.getSomeRelationShip().size();
before outjecting to the session so th
"java.net.MalformedURLException: unknown protocol: c" usually means that there
is an URL (or broken URL handler) like "c:/mydirectory/..." somewhere and it's
missing the actual protocol; file. So instead it should state
"file://c:/mydirectory/.."
If you're not running on Windows then this is n
add required el options to your jsf tags.
eg
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116235#4116235
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116235
___
jboss-use
no
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116233#4116233
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116233
___
jboss-user mailing list
jboss-user@lists.jboss.org
h
but if you want to help. submit bugs and answer some questions in forums.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116234#4116234
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4116234
_
Dear all,
do Seam and RichFaces use the LGPL license? If we use the Seam and Richfaces
framework/library in our commercial application, do we have to make our
commercial application open source or distribute it using the LGPL license as
well?
Thanks.
View the original post :
http://www.jboss
Hey,
I have a very simple authenticate component as in all seam examples such:
| @In
| EntityManager entityManager;
|
| @Out(required=false, scope = SESSION)
| User loggedUser;
|
|
| public boolean authenticate() {
| //load the user from db and set it into 'loggedUser' var
i think i am doing something wrong because my s:validateAll seem not working
this is my code
addGadget.xhtml
--
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:richfaces="http://richfaces.ajax4jsf.org/rich";
x
anonymous wrote : Does the lookup name change if I deploy it in an EAR file?
Yes, it does change. If you are deploying the bean as part of an ear file, then
the lookup string will also have a ear file name prefixed to it. For example,
if your TestBean is being deployed in an ear file named myApp
You will have to provide more details as to what exactly is failing. The
exception stacktrace, the JBoss version, Java version on Quartz version.
Without these information, there's no way to guess what might be wrong.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewto
Please post the contents of your application.xml and the output of the JNDI
view from the jmx-console. Also, post the output of the following command, from
the command prompt:
jar -tf CustomerApplication.ear
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116
Looks like you have a problem in your hbm mapping files (or the annotated
entities, depending on what you are using). More details can be found in this
(invalid) bug
http://opensource.atlassian.com/projects/hibernate/browse/HHH-3002. See, if you
are having the same problem in your mapping.
V
Hi ,
Is there any way of doing it by reading the system environment varaibles or
so If so please inform
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4116224#4116224
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41
We are using ConnectionManager.allocateConnection () to retrieve connections
from the pool with our implementation of the ManagedConnectionFactory and
ConnectionRequestInfo).
Once our code reaches:
InternalManagedConnectionPool.getConnection(Subject subject,
ConnectionRequestInfo cri),
there
68 matches
Mail list logo