[jboss-user] [JBoss Cache: Core Edition] - Re: Clean Hibernate Second Level Cache

2009-01-12 Thread repkin
I have evicted by "sessionFactory.evictEntity" | public void cleanSecondLevelCache(String[] entityNames){ | //entityName : com.package.name.ClassName | for (String entityName : entityNames) { | sessionFactory.evictEntity(entityName); | } | } | Thanks for your

[jboss-user] [JBoss Cache: Core Edition] - Clean Hibernate Second Level Cache

2009-01-12 Thread repkin
Hi, I am using Hibernate 3.3.1 and JBoss Cache 2.1.1 as second level cache. My application is Cluster-Wide structured and I have configured multi regions. I want to clean cache manually. I dont know am I doing it right way, but it is working. Is this code true for cleaning cache? | Map allS

[jboss-user] [JBoss Cache: Core Edition] - JBoss Cache Management via Mbean, Clear Operation

2008-12-04 Thread repkin
I have registred mbeans but I cant see any operation for clearing cache. Is there any mbean for this? By CacheJmxWrapper, you are providing create/start/stop/destroy management operations already. But I cant find clear function anywhere. JBoss Cache Version: 2.2.1 regards, ramazan pekin. Vie

[jboss-user] [JBoss Cache: Core Edition] - Re: newbie question, jgroups udp multicast

2008-12-01 Thread repkin
I have changed some jpa properties of my entityManagerFactory, and everything looks like ok... | | | | | | | | Now the next

[jboss-user] [JBoss Cache: Core Edition] - Re: newbie question, jgroups udp multicast

2008-11-28 Thread repkin
I have get over it by "-Djava.net.preferIPv4Stack=true" jvm parameter but now I am taking different exceptions. | [11/28/08 15:30:23:181 EET] 002e viewhandler E Error Rendering View[/pages/error_before_login.xhtml] | javax.faces.FacesException: org.

[jboss-user] [JBoss Cache: Core Edition] - Re: newbie question, jgroups udp multicast

2008-11-28 Thread repkin
I run this command; netstat -na | grep 45588 and the result is: udp0 0 *.45588*.* View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192951#4192951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=p

[jboss-user] [JBoss Cache: Core Edition] - newbie question, jgroups udp multicast

2008-11-28 Thread repkin
I have tried to start jboss cache with default configs and I have been taken this error: | | [11/28/08 8:43:38:637 EET] 0026 WebAppE Exception caught while initializing context | org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'org.

[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-15 Thread repkin
Hi, Is there any solution for this error at jboss cache side? or, Does Hibernate has to modify it self? If you can give any idea, I will wait or I will use a stabil version. Thanks for your helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4189628#4189628

[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-12 Thread repkin
I was trying, and I have taken error, and I decided to write, I have seen sninsky have been writed already, these are my logs: | Nov 12, 2008 4:25:43 PM org.apache.catalina.core.StandardContext listenerStart | SEVERE: Exception sending context initialized event to listener instance of cla

[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-11 Thread repkin
is MVCC method enabled other versions(2.x.x)? Is it only capable with 3? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188594#4188594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188594 __

[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-11 Thread repkin
We have decided to use JBoss Cache and JBoss POJO Cache... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188460#4188460 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188460

[jboss-user] [JBoss Cache: Core Edition] - is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-10 Thread repkin
Hi, I cant find information about hibernate and jboss cache 3.0 CR2 compatibility. I want to use jboss cache as secondary level caching, but I cant guaranteed they are compatible. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188361#4188361 Reply to the pos

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Making Accessible from LAN

2008-07-08 Thread repkin
Hi, I have developed jee application with JBoss, Ejb3. Now I want to make it accessible from local network. I can reach my application with these: http://localhost:8080/myapp/ http://127.0.0.1:8080/myapp/ But I cant reach with; http://:8080/myapp/ myip: I achieved with ipconfig command. So, wh

[jboss-user] [EJB 3.0] - Entity Bean Package Modification (javax.persistence.Persiste

2008-06-23 Thread repkin
Hi, I have changed Entity bean package to another, but jboss server is still looking for for old package and giving "class or package not found" exception. I have changed com.atosorigin.utils.pojo.PrStaff to com.atosorigin.utils.ejb.PrStaff, but server is still searching for old package. 15:01:

[jboss-user] [EJB 3.0] - Re: EJB Annotation Not Injecting (@EJB)

2008-06-19 Thread repkin
Thanks, I am waiting JBoss 5 final release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4159278#4159278 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4159278 ___ jboss-user

[jboss-user] [EJB 3.0] - EJB Annotation Not Injecting (@EJB)

2008-06-19 Thread repkin
Hi, I wanted the ejb references have been injected by container. When I use context.lookup, it is working. This is my code: | Context context = new InitialContext(); | PrStaffLocalInterface prstaff = (PrStaffLocalInterface)context.lookup("surgeonfish/PrStaffHome/local"); | prstaff.findById

[jboss-user] [EJB 3.0] - Re: EntityManager Injection, Null Pointer Exception. (Sorry.

2008-06-18 Thread repkin
I am so thankful for your helps, finally it worked. This is the final situation: I have changed ejb call part like that: | Context context = new InitialContext(); | PrStaffInterface prstaff = (PrStaffInterface)context.lookup("surgeonfish/PrStaffHome/local"); | prstaff.findById(new Intege

[jboss-user] [EJB 3.0] - Re: EntityManager Injection, Null Pointer Exception.

2008-06-18 Thread repkin
Hi, thanks for your reply. I have tried a lot of possibilities. Yes, you right, at the sended log, the commented part not commented and have been worked together, but when I was trying the code parts separately, I was taking same error. Now I am sending again the logs, First of all deployment

[jboss-user] [EJB 3.0] - Re: EntityManager Injection, Null Pointer Exception. (Sorry.

2008-06-18 Thread repkin
Is there any solution can you suggest? I cant still find the solution, I am looking internet resources but my configuration looks like ok. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158900#4158900 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [Installation, Configuration & DEPLOYMENT] - EntityManager Injection...

2008-06-18 Thread repkin
I wanted the entitymanager have been injected by the container, I cant configure it. After a lot of trial, I decided to ask the question. Here is the situation, My ear file structure: | surgeonfish.ear | |surgeonfish-ds.xml | |META-INF | |application.xml |

[jboss-user] [EJB 3.0] - Re: EntityManager Injection, Null Pointer Exception. (Sorry.

2008-06-17 Thread repkin
Hi, First of all java-version info: C:\>java -version java version "1.5.0_11" Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0_11-b03) Java HotSpot(TM) Client VM (build 1.5.0_11-b03, mixed mode, sharing) Here are the full console outline when I start jboss:

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EntityManager Injection, Null Pointer Exception. (Sorry...)

2008-06-17 Thread repkin
I wanted the entitymanager have been injected by the container. But after a lot of trial, I decided to ask the question. Here is the situation, My ear file structure: | surgeonfish.ear | |surgeonfish-ds.xml | |META-INF | |application.xml | |jboss-app.xml

[jboss-user] [EJB 3.0] - EntityManager Injection, Null Pointer Exception. (Sorry...)

2008-06-17 Thread repkin
I wanted the entitymanager have been injected by the container. But after a lot of trial, I decided to ask the question. Here is the situation, JBoss Server:jboss-4.2.2.GA My ear file structure: | surgeonfish.ear | |surgeonfish-ds.xml | |META-INF | |application.xml