Hi all,
I'm deploying my application from script, which is using MainDeployer. All
works properly, but deploy is not permanent. After JBoss restart I must deploy
application again. It is bug, feature of wrong setting or usage.
Many thanks.
Jefec
View the original post :
http://www.jboss.com
anonymous wrote :
| Any specific reasons for doing this? Also, which version of JBoss?
Because it is requirement from our product management :). We are using JBoss
4.2.2
Previously we are using Glassfish and we had created autodeployment in ant.
Now we need the same tool for permanent
Hello. I have same problem too. How did you solve this problem?
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4065686#4065686
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065686
I'm using this solution:
public void get() {
List types = new ArrayList();
types.add(PersonType.DIRECTOR);
types.add(PersonType.STUDENT);
Query query = entityManager.createQuery(FROM Person p WHERE p.type IN
(:types))
.setParameter(types, types);
I'm using Embedded EJB3 and when I use in Stateless bean annotation
@RolesAllowed({someRole}), then null pointer is thrown.
What is wrong?
Thanks.
Trace:
java.lang.NullPointerException
at org.jboss.security.SecurityContext.setRoles(SecurityContext.java:95)
at
Problem is with the useNaming attribute in context.xml. It is set to true value
by default, enabling the JNDI InitialContext for web applications.
In JBoss source codes is this attribute set to false and the resource isn't
deployed during the deployment process.
View the original post :
I have created jboss-web.xml and it contains referece (resource-ref) to my
resource. But it doesn't work.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=4032370#4032370
Reply to the post :
Hello. I have similar problem. I have defined custom resource in context, but
after deploy it is not bound (in jmx console it is not visible too) and there
are no errors in the log file.
What is wrong?
Thanks
View the original post :
Hello, I have defined custom resource in my context.xml, but jboss doesn't
deploy it (it is not visible in jmx console) and there are no errors in the log
file.
In standalone tomcat all works correctly.
What is wrong?
Thanks
My context.xml:
| context ...
| Resource auth=Container