[JBossCache] - Problem configuring service jboss.cache:service=TreeCache
by yrk.kaushik
I am using Jboss cache 2.0.0 GA. I've used the configuration file- local-eviction-cacheloader-service.xml, available under JBossCache-all-2.0.0.GA\etc\META-INF and place it in Jboss\server\default\deploy folder. But while starting the server, I am getting incomplete deployment error as shown below. Could any of you please help me out in resolving this?
12:01:43,095 INFO [ServiceConfigurator] Problem configuring service jboss.cache:service=TreeCache
org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
at org.jboss.system.ServiceConfigurator.setAttribute(ServiceConfigurator.java:698)
at org.jboss.system.ServiceConfigurator.configure(ServiceConfigurator.java:332)
Caused by: java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function
at org.jboss.cache.jmx.CacheJmxWrapper.getConfiguration(CacheJmxWrapper.java:124)
at org.jboss.cache.jmx.CacheJmxWrapper.setTransactionManagerLookupClass(CacheJmxWrapper.java:545)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
--- MBeans waiting for other MBeans ---
ObjectName: jboss.cache:service=TreeCache
State: FAILED
Reason: org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute@110195c on mbean jboss.cache:service=TreeCache; - nested throwable: (java.lang.VerifyError: (class: org/jboss/cache/config/Configuration, method: setCacheLoaderConfig signature: (Lorg/jboss/cache/config/CacheLoaderConfig;)V) Incompatible argument to function)
I Depend On:
jboss:service=Naming
jboss:service=TransactionManager
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132041#4132041
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132041
18 years, 1 month
[JBoss jBPM] - Please help~~problem when invoking bpel process~~
by sim912
Hi,
I am developing a web service using java web service developer pack. And i am going to deploy it to jboss server.
I have an operation booking() which intake two parameters(int) and return two values.
I have a wsdl file for this web service.
In wsdl file,
after compile the web service using wscompile. It created the endpoint interface called WSPT.java
In WSPT.java:
public interface WSPT extends java.rmi.Remote{
public void booking(int id, int p, StringHolder client, StringHolder time){
return;
}
Can anyone tell me why the return type is void. And how i can return the two strings response using soap message. since at final stage, i will deploy web services as bpel process.
In Booking.bpel:
...
<reply operation="booking" variable="OutputResponse" partener link="caller" portType="tns:WSTP />
....
after deploy to jboss, when i invoke the web service operation booking(), it throws an WSException, It said cannot find java method booking
The details of exeception is:
[SOAPFaultExceptionHelper] SOAP request exceptiom
org.jboss.ws.WSException: cannot find java method: booking
at org.jboss.ws.metadata.OperationMetaData.getJavaMethod(OperationMetaData.java:211)
........
So can anyone tell me how to return two values for one operation in this case? and why the return type in interface is void? and Why the response variable place in the parameters of booking()?
public void booking(int id, int p, StringHolder client, StringHolder time)
Thanks a lot!!!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132038#4132038
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132038
18 years, 1 month
[EJB/JBoss] - Re: Too many open files exception JBOSS 4.2
by ajayks
Hello JaiKiran,
Thanks for the reply.
I am using JDK1.5 of SunMicrosystem and the version of JBOSS I have used is 4.2.2.GA.
The following are the stack trace for the exception I have got:-
11:10:22,744 WARN [UILServerILService] Failed to setup client connection
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:159)
at java.lang.Thread.run(Thread.java:595)
11:10:22,747 INFO [STDOUT] exception:Cannot authenticate user; - nested throwable: (java.io.EOFException)
11:10:22,750 WARN [UILServerILService] Failed to setup client connection
java.net.SocketException: Too many open files
at java.net.PlainSocketImpl.socketAccept(Native Method)
at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384)
at java.net.ServerSocket.implAccept(ServerSocket.java:450)
at java.net.ServerSocket.accept(ServerSocket.java:421)
at org.jboss.mq.il.uil2.UILServerILService.run(UILServerILService.java:159)
at java.lang.Thread.run(Thread.java:595)
11:10:22,751 INFO [STDOUT] exception:Cannot authenticate user; - nested throwable: (java.io.EOFException)
I have found after getting above error the AS statas throwing same error whenever client tries to call EJB deployed in JBOSS.
I think there is some configuration issue either at OS level or JBOOS level
like how many file/ports can be opened by the J2EE application.
Thanks to give me solution of my problem.
with regards,
Ajay Kumar
Technical Leader,
STMicroelctronics.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4132034#4132034
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4132034
18 years, 1 month