[JBoss-user] [Clustering/JBoss] - AutoDiscovery Not Working in RHES 4 update 3

2006-06-22 Thread fmaredia
We want to create a cluster with three nodes. We had attempted this in Windows and it worked beautifully. This is the spec that we have for Redhat: OS: Redhat Enterprise 4 update 3 Firewall Disabled SELinux Disabled JBoss 4.0.4GA with EJB3.0 update 8 The servers are on the same V-LAN and I

[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Deadlock found

2006-06-20 Thread fmaredia
I am using MySQL 5.0.18, with JBoss 4.0.4GA, and Hibernate. We found out that we get the error when we replicate similar actions. Meaning when two users performing similar actions and happen to click on the submit button at the same time and want to create a new record, we get the following

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - EHCache.xml not found!

2005-12-20 Thread fmaredia
Ehcache.xml is not recognized by our application in JBoss. Our application contains a har file and inside the har we have the ehcache.xml. Our jboss-service.xml file includes the following: server | mbean code=org.hibernate.jmx.HibernateService |

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: EHCache.xml not found!

2005-12-20 Thread fmaredia
Well I fixed the problem! You have to create an ehcache.jar which contains your EHCache.xml. In JBoss you have to put it in server/servername/lib. I tried various places such as inside my application, outside it, etc, but if you put a jar inside the lib folder everything works fine! View

[JBoss-user] [Installation, Configuration Deployment] - Multiple redeployment gets PermGen error

2005-12-16 Thread fmaredia
We have a fairly large application that is deployed as an ear. It contains ejb jars, har, war, and some important jars. After a couple of redeployments we get a PermGen error stating that we have run out of memory. This problem only exists after a certain number of redeployments. Our

[JBoss-user] [Installation, Configuration Deployment] - Re: JBoss service in linux not working correctly

2005-11-03 Thread fmaredia
frannack, Can you run jboss on the console? My installation was not through the jar installer. I used the zipped up version. I downloaded the EJB3 zip file and made the appropriate changes. adrian, I am sorry, but it seems to be a JBoss problem, because JBoss works fine under the

[JBoss-user] [Installation, Configuration Deployment] - JBoss service in linux not working correctly

2005-11-02 Thread fmaredia
I have JBoss 4.0.3RC1 (I know I should be using the new version, but thats another story) configured on Redhat. I wanted to have JBoss as a service so I did everything the wiki (http://wiki.jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux) had asked me to. I did not get any errors

[JBoss-user] [Installation, Configuration Deployment] - UnsatisfiedLinkError

2005-10-12 Thread fmaredia
I have JBoss running on Windows, and need to move it to Linux. I have the following installed on it: JDK - 1.5.0_05 Jboss I first thought it was the JDK so I upgraded it to the newest one, and I still get the error. Everything works fine, except one servlet throws the following error:

[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - UnsatisfiedLinkError

2005-10-12 Thread fmaredia
I have JBoss running on Windows, and need to move it to Linux. I have the following installed on it: JDK - 1.5.0_05 Jboss I first thought it was the JDK so I upgraded it to the newest one, and I still get the error. Everything works fine, except one servlet throws the following error:

[JBoss-user] [Beginners Corner] - Treecache Lock Error

2005-08-29 Thread fmaredia
System Configuration: JBoss AS 4.0.3 RC1 Hibernate 2.1.8 MySQL 4.1.7 TreeCache (local) Sometimes we get read lock errors from our Cache. It happens when a user logs in or it just happens after a while. Everything works after refreshing the browser, but why does the following error occur:

[JBoss-user] [JBossCache] - Treecache Lock Error

2005-08-29 Thread fmaredia
System Configuration: JBoss AS 4.0.3 RC1 Hibernate 2.1.8 MySQL 4.1.7 TreeCache (local) Sometimes we get read lock errors from our Cache. It happens when a user logs in or it just happens after a while. Everything works after refreshing the browser, but why does the following error occur:

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler MBean on the last day of each month

2005-06-21 Thread fmaredia
Anyone? Any example similar would work as well! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3882267#3882267 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3882267 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Scheduler MBean on the last day of each month

2005-06-16 Thread fmaredia
OK how about at the first day of the month at 2:00AM? Can someone help me out there View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3881837#3881837 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3881837

[JBoss-user] [Management, JMX/JBoss] - Scheduler MBean on the last day of each month

2005-06-15 Thread fmaredia
I want to create a scheduler mbean that will execute a class on the last day of each month at 2:00AM to be exact. Could someone please tell me what I would put for the following attributes: DateFormat, StartDate, Period, Repetitions. View the original post :

[JBoss-user] [Persistence CMP/JBoss] - JBoss 4.0.2, EJB Preview 5, and Hibernate 3 : Making it all

2005-05-25 Thread fmaredia
This is to inform anyone that was having difficulty getting Hibernate 3 to work with JBoss 4.02 with EJB Preview 5. The following needs to be done at the EJB Layer: @Unchecked | @TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) | public Employee login() { |

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate In Action/HibernateUtil/JBoss4+Hibernate3 Prob

2005-05-22 Thread fmaredia
Any examples. Can someone provide any class similar to HibernateUtil? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878692#3878692 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878692

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-19 Thread fmaredia
The end result was tested by Steve Ebersole against Preview 3. Is there such a problem still in existence against Preview 5. Does the future version fix this problem? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878436#3878436 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-18 Thread fmaredia
Any response yet? Any word from JBoss? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3878298#3878298 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3878298 --- This

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-16 Thread fmaredia
I think I have figured out the problem but need some help, PLEASE. It seems that whenever I am using the SessionFactory that is retreived from JNDI I cannot update or delete (I know it sounds wierd). However when I create a new SessionFactory without retrieving from JNDI everything works fine

[JBoss-user] [Persistence CMP/JBoss] - Re: Hibernate 3 unable to update or delete

2005-05-16 Thread fmaredia
I think there is a serious problem!!! Whom do I notify of this problem and how. Server Configuration: JBoss 4.0.2 EJB 3 Preview 5 Hibernate 3.0.3 Hibernate mappings, code, DAO all mapped in a HAR file Data saved, updated, deleted at the EJB layer. Example @MethodPermissions({Sales}) |

[JBoss-user] [Persistence CMP/JBoss] - Hibernate 3 unable to update or delete

2005-05-12 Thread fmaredia
We migrating from Hibernate 2 to Hibernate 3. We upgraded JBoss to version 4.02. Our old version with Jboss 4.0.1 with Hibernate 2 worked fine with no errors. When we migrated everything works fine, except that we can not update or delete. It makes no sense! There is no error produced

[JBoss-user] [Security JAAS/JBoss] - Get Principal Name from EJB

2005-02-21 Thread fmaredia
How do I access the Principal information from the EJB? @MethodPermissions({student}) @TransactionAttribute(TransactionAttributeType.REQUIRESNEW) public boolean doSomething(Quote quote) { . . . } I know when a user does not have permission to access a method it returns an error stating the

[JBoss-user] [Security JAAS/JBoss] - JAAS and JBoss Security Design

2005-02-09 Thread fmaredia
The following is from my LoginAction class: | try | { | SecurityAssociationHandler handler = new | SecurityAssociationHandler(); | SimplePrincipal user = new SimplePrincipal(username); | handler.setSecurityInfo(user,

[JBoss-user] [HTTPD, Servlets JSP] - Unusual java.lang.NullPointerException

2004-03-12 Thread fmaredia
This is a bit unusual, but I can not figure this out. I have a JSP page that throws a java.lang.NullPointerException. It throws the exception randomly, meaning at times it works and other times it throws the exception. I tried it with the same data and different data as well, so I know it is