[jboss-user] [Installation, Configuration DEPLOYMENT] - Automatic deploy with MainDeployer

2008-04-01 Thread jefec
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

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Automatic deploy with MainDeployer

2008-04-01 Thread jefec
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

[jboss-user] [EJB 3.0] - Re: Import interceptor problem

2007-07-19 Thread jefec
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

[jboss-user] [EJB 3.0] - Re: Passing array of enum to SELECT * WHERE clause

2007-05-23 Thread jefec
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);

[jboss-user] [EJB 3.0] - NullPointerException in SecurityContext.setRoles

2007-05-22 Thread jefec
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

[jboss-user] [JNDI/Naming/Network] - Re: Tomcat Custom Resource

2007-04-04 Thread jefec
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 :

[jboss-user] [JNDI/Naming/Network] - Re: Tomcat Custom Resource

2007-03-28 Thread jefec
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 :

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Context parameters in Tomcat with JBoss ?

2007-03-27 Thread jefec
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 :

[jboss-user] [JNDI/Naming/Network] - Tomcat Custom Resource

2007-03-27 Thread jefec
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