[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: How to prevent ApplicationDeadlockException with READ-ON

2006-06-19 Thread vickyk
ereze wrote : I have the same problem: methods marked with read-only but 
still lots of deadlocks which obviously make our customer mad.
  | 
I am not sure but the read only will be used in the optimization technique for 
the 2P-Protocol ..It will not help in deadlock situation .

Regards
Vicky



View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3951824#3951824

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3951824


___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Microcontainer] - How do I get the POJO ?

2006-03-01 Thread vickyk
Actually I have deployed the POJO in the Jboss4.0.3 and I can verify this 
thorugh the jmx-console .
How would I get the access the methods of the POJO in the jsp/servlet ? How do 
I get the POJO instance in the applicatiion code ?

Regards
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3927029#3927029

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3927029


---
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnkkid=110944bid=241720dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: How to restart JBoss server by MBean

2005-12-04 Thread vickyk
You can't do that , but I am not able to understand why do you want this 
feature .
When you shut down the Jboss the MBean Server is shut down itself , so you have 
lost the control .

Regards
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910582#3910582

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910582


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Cookie Issue with latest JBoss/TC Bundle

2005-12-01 Thread vickyk
Does this happens only with the cookies values which are having spaces or for 
all ?

Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3910182#3910182

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3910182


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Synchronous stop

2005-10-14 Thread vickyk
What do you mean by synchronous shutdown , can you explain this ?
Regards
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901145#3901145

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901145


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Synchronous stop

2005-10-14 Thread vickyk
I dont think there is any method to do so and it also does not make the logical 
sense also . Why don't you use the jmx-console to invoke the shutdown and then 
verify the same is done by refreshing the page . 
However I will investigate and see if there can be a way to do that , I got to 
check myself this 
Regards
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3901152#3901152

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3901152


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Getting an

2005-10-04 Thread vickyk
Why is there space in jboss.mq.destination :name=THRequest , remove that and 
check the results ?
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3898911#3898911

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898911


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Getting an

2005-10-04 Thread vickyk
try using 
public Object invoke(ObjectName name, String operationName, Object[] params, 
String[] signature)
  throws InstanceNotFoundException, MBeanException, ReflectionException, 
IOException;

Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3898919#3898919

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898919


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: Getting an

2005-10-04 Thread vickyk

  | getAttribute
  | Object getAttribute(ObjectName name,
  | String attribute)
  | throws MBeanException,
  |AttributeNotFoundException,
  |InstanceNotFoundException,
  |ReflectionException,
  |IOExceptionGets the value of a specific 
attribute of a named MBean. The MBean is identified by its object name. 
  | 
  | Parameters:
  | name - The object name of the MBean from which the attribute is to be 
retrieved.
  | attribute - A String specifying the name of the attribute to be retrieved. 
  | Returns:
  | The value of the retrieved attribute. 
  | Throws: 
  | AttributeNotFoundException - The attribute specified is not accessible in 
the MBean. 
  | MBeanException - Wraps an exception thrown by the MBean's getter. 
  | InstanceNotFoundException - The MBean specified is not registered in the 
MBean server. 
  | ReflectionException - Wraps a java.lang.Exception thrown when trying to 
invoke the setter.
  |  
  | RuntimeOperationsException - Wraps a java.lang.IllegalArgumentException: 
The object name in parameter is null or the attribute in parameter is null. 
  | 
  | IOException - A communication problem occurred when talking to the MBean 
server.
  | See Also:
  | setAttribute(javax.management.ObjectName, javax.management.Attribute)
  | 
Emphasis on the underlined part to get the actual cause of the error you are 
getting .
Vicky

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3898924#3898924

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3898924


---
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-30 Thread vickyk
Hi , 
I have been able to run the sample examples very well with the Jboss for the 
commit options A, B and C . I have downloaded the sample examples from the 
Orielley Workbook .
How did you checked if the ejbStore() is called or not , did you put any log 
statement ?
Regards
Vicky

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3892193#3892193

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3892193


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-23 Thread vickyk
Can you check the Commit Options in the EJB specs for the details , the Jboss 
does support additional commit option D?
Regards
Vicky

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891196#3891196

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891196


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: user control of invoking ejbstroe() method

2005-08-23 Thread vickyk
Well you got to see the commit options , I think I have replied to your post 
earlier .
You can't control the call to the ejbStore in the deployment descriptor but can 
be configured in the container configuration file . 
You can search  standardjboss.xml  for the 
anonymous wrote : 
  | container-configuration
  |   container-nameStandard CMP 2.x EntityBean/container-name
  |   call-loggingfalse/call-logging
  |   
invoker-proxy-binding-nameentity-rmi-invoker/invoker-proxy-binding-name
  |   sync-on-commit-onlyfalse/sync-on-commit-only
  |   insert-after-ejb-post-createfalse/insert-after-ejb-post-create
  |   call-ejb-store-on-cleantrue/call-ejb-store-on-clean
  |   container-interceptors
  | org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | org.jboss.ejb.plugins.SecurityInterceptor
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ejb.plugins.EntityCreationInterceptor
  | org.jboss.ejb.plugins.EntityLockInterceptor
  | org.jboss.ejb.plugins.EntityInstanceInterceptor
  | org.jboss.ejb.plugins.EntityReentranceInterceptor
  | org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  | org.jboss.ejb.plugins.EntitySynchronizationInterceptor
  | org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor
  |   /container-interceptors
  |   
instance-poolorg.jboss.ejb.plugins.EntityInstancePool/instance-pool
  |   
instance-cacheorg.jboss.ejb.plugins.InvalidableEntityInstanceCache/instance-cache
  |   
persistence-managerorg.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager/persistence-manager
  |   
locking-policyorg.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock/locking-policy
  |   container-cache-conf
  | 
cache-policyorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy/cache-policy
  | cache-policy-conf
  |   min-capacity50/min-capacity
  |   max-capacity100/max-capacity
  |   overager-period300/overager-period
  |   max-bean-age600/max-bean-age
  |   resizer-period400/resizer-period
  |   max-cache-miss-period60/max-cache-miss-period
  |   min-cache-miss-period1/min-cache-miss-period
  |   cache-load-factor0.75/cache-load-factor
  | /cache-policy-conf
  |   /container-cache-conf
  |   container-pool-conf
  | 100
  |   /container-pool-conf
  |   commit-optionB/commit-option
  | /container-configuration
  | 
commit options .
Regards
Vicky


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891197#3891197

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891197


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: How to force immediate commit of an entity bean to the p

2005-08-23 Thread vickyk
bgrieder wrote : Hi,
  | 
  | Thanks for your reply.
  | I thought about that too and tried to implement a container configuration 
(details below) with option D and optiond-refresh-rate set at 30 (seconds).
  | 
  | I have been watching ejbStore on the entity bean, but nothing happened
  | 
  | Any Clue?
  | 
  | Cheers
  | 
  | Bruno
  | 
For immediate call to ejbStore you need to set commit Option C . Why are you 
putting commit Option D as it is similar to the A . Please refer to the Section 
11.8.1 of the admin docs of Jboss for details . 
bgrieder wrote : 
  | 
  |   | container-configurations
  |   | container-configuration
  |   |   container-nameOption D30/container-name
  |   |   call-loggingfalse/call-logging
  |   |   
invoker-proxy-binding-nameentity-rmi-invoker/invoker-proxy-binding-name
  |   |   sync-on-commit-onlyfalse/sync-on-commit-only
  |   |   insert-after-ejb-post-createfalse/insert-after-ejb-post-create
  |   |   container-interceptors
  |   | 
interceptororg.jboss.ejb.plugins.ProxyFactoryFinderInterceptor/interceptor
  |   | interceptororg.jboss.ejb.plugins.LogInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.SecurityInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.TxInterceptorCMT/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.CallValidationInterceptor/interceptor
  |   | interceptor 
metricsEnabled=trueorg.jboss.ejb.plugins.MetricsInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.EntityCreationInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.EntityLockInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.EntityInstanceInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.EntityReentranceInterceptor/interceptor
  |   | 
interceptororg.jboss.resource.connectionmanager.CachedConnectionInterceptor/interceptor
  |   | 
interceptororg.jboss.ejb.plugins.EntitySynchronizationInterceptor/interceptor
  |   |   /container-interceptors
  |   |   
instance-poolorg.jboss.ejb.plugins.EntityInstancePool/instance-pool
  |   |   
instance-cacheorg.jboss.ejb.plugins.EntityInstanceCache/instance-cache
  |   |   
persistence-managerorg.jboss.ejb.plugins.BMPPersistenceManager/persistence-manager
  |   |   
locking-policyorg.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock/locking-policy
  |   |   container-cache-conf
  |   | 
cache-policyorg.jboss.ejb.plugins.LRUEnterpriseContextCachePolicy/cache-policy
  |   | cache-policy-conf
  |   |   min-capacity50/min-capacity
  |   |   max-capacity100/max-capacity
  |   |   overager-period300/overager-period
  |   |   max-bean-age600/max-bean-age
  |   |   resizer-period400/resizer-period
  |   |   max-cache-miss-period60/max-cache-miss-period
  |   |   min-cache-miss-period1/min-cache-miss-period
  |   |   cache-load-factor0.75/cache-load-factor
  |   | /cache-policy-conf
  |   |   /container-cache-conf
  |   |   container-pool-conf
  |   | MaximumSize100/MaximumSize
  |   |   /container-pool-conf
  |   |   commit-optionD/commit-option
  |   |   optiond-refresh-rate30/optiond-refresh-rate
  |   | /container-configuration
  |   | /container-configurations
  |   | 
Since you have changed the container name from the default Standard BMP 
EntityBean , how do u tell the ejb that it has got to use Option D30 . I feel 
some things are missing from your side inconfiguration . 
Well give me some time as i need to prepare the demo ejb and then test , and on 
top of that I need to configure DataSource arrange database on my system 
I will test the same again I have not being playing with Entity Beans from long 
.
Regards
Vicky

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3891367#3891367

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3891367


---
SF.Net email is Sponsored by the Better Software Conference  EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile  Plan-Driven Development * Managing Projects  Teams * Testing  QA
Security * Process Improvement  Measurement * http://www.sqe.com/bsce5sf
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - ServiceController related Implementation Queries ?

2005-06-06 Thread vickyk
private void register(ServiceContext ctx, Collection depends) throws Exception
  |{
  |   if (!installedServices.contains(ctx))
  |  installedServices.add(ctx);
  | 
  |   if (depends != null)
  |   {
  |  log.debug(adding depends in ServiceController.register:  + 
depends);
  |  for (Iterator i = depends.iterator(); i.hasNext();)
  |  {
  | registerDependency(ctx.objectName, (ObjectName) i.next());
  |  }
  |   }
  | 
  |   // Get the fancy service proxy (for the lifecycle API)
  |   ctx.proxy = getServiceProxy(ctx.objectName, null);
  |
  | }
  | 

Refering to the above method in the ServiceController I am not understanding 
why new ServiceProxy is getting generated on every invocation of create ? 
Regarding the JARDeployer and  the SARDeployer I could not see any dependent 
list , why are these created and started through the startBootService , could 
these not been created through the createMBean method ? 
Or for the Hot Deployment features they are tied with the Service Controller ?
Regards
Vicky


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3880371#3880371

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3880371


---
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61 plasma display: http://www.necitguy.com/?r=20
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user