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
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
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
I have changed some jpa properties of my entityManagerFactory, and everything
looks like ok...
|
|
|
|
|
|
|
|
Now the next
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.
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
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.
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
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
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
__
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
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
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
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:
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
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
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
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
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
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
|
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:
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
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
23 matches
Mail list logo