[jboss-user] [Datasource Configuration] - Datasource settings help for clustered jboss with RAC Oracle

2009-09-08 Thread mikeike
Hi, 

I need some help in setting-up and testing a datasource as I am pretty new to 
JBoss. We have a clustered jboss environment that connects to a RAC Oracle 
Database. Wanted to find out how do I configure my Datasource and what is the 
best approach and where exactly do I need to make changes. Using JBoss 4.2.3 

How do I make sure my datasource setting is such that anytime a cluster server 
or RAC node goes done any transactions in between should go to completion. How 
can I test different scenarios are there any java programs that I can use for 
testing. Any help is really appreciated. 

Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254034
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: ava.lang.ClassCastException: org.jboss.portal.portlet.im

2009-09-08 Thread guenther.her...@softcon.de
To day I tried a more seam like way:
/**
 * 
 */
package de.softcon.ivory.invserver.action.report;



import java.io.ByteArrayOutputStream;
import java.io.File;
import java.io.FileInputStream;

import javax.faces.context.ExternalContext;
import javax.faces.context.FacesContext;

import org.jboss.portal.portlet.impl.jsr168.api.ActionResponseImpl;
import org.jboss.seam.annotations.In;
import org.jboss.seam.annotations.Import;
import org.jboss.seam.annotations.Logger;
import org.jboss.seam.annotations.Name;
import org.jboss.seam.core.Manager;
import org.jboss.seam.document.ByteArrayDocumentData;
import org.jboss.seam.document.DocumentData;
import org.jboss.seam.document.DocumentStore;
import org.jboss.seam.log.Log;





/**
 * @author mbaumgar
 *
 */
@Name(downloadComponent)
@Import(org.jboss.seam.pdf)
public class DownloadComponent
{
@In private Manager manager;
@In(create = true, value = #{org.jboss.seam.document.DocumentStore}) 
private DocumentStore documentStore;


@In(value = #{facesContext.externalContext})
private ExternalContext externalContext;
/*
@In(value = #{org.jboss.seam.faces.facesContext})
private FacesContext facesContext;
*/
@Logger
private Log log;

public void download(String filename, File reportFile)
{
int read = 0;
byte[] bytes = new byte[1000];

//ActionResponseImpl res = 
(ActionResponseImpl)FacesContext.getCurrentInstance().getExternalContext().getResponse();
//HttpServletResponseWrapper response 
=(HttpServletResponseWrapper)FacesContext.getCurrentInstance().getExternalContext().getResponse();
 ActionResponseImpl res = (ActionResponseImpl) 
externalContext.getResponse();
   
 
//HttpServletResponseWrapper response = res.getRealResponse();
//response.setContentType(application/xls);
//response.setContentLength((int) reportFile.length());
//response.setHeader(Content-Disposition, attachment; filename=\ + 
filename + \;);
//log.info(Content-Disposition attachment; filename=\ + filename + 
\;);
//log.error(Content-Disposition attachment; filename=\ + filename + 
\;);
try
{
//ServletOutputStream os = response.getOutputStream();
ByteArrayOutputStream os = new ByteArrayOutputStream();

FileInputStream fis = new FileInputStream(reportFile);

while ((read = fis.read(bytes)) != -1)
{
os.write(bytes, 0, read);
}
fis.close();
//
//os.flush();
//os.close();
byte[] binaryData = os.toByteArray();
DocumentData data = new ByteArrayDocumentData(report,
new DocumentData.DocumentType(pdf, application/pdf),
binaryData);
String docId = documentStore.newId();
documentStore.saveData(docId, data);
String documentUrl =
documentStore.preferredUrlForContent(
data.getBaseName(),
data.getDocumentType().getExtension(),
docId);
FacesContext.getCurrentInstance().getExternalContext().redirect(

manager.encodeConversationId(documentUrl));

//
FacesContext.getCurrentInstance().getExternalContext().redirect(reportFile.toURI().toString());
//FacesContext.getCurrentInstance().responseComplete();
//facesContext.responseComplete();
}
catch (Exception e)
{
if (log.isErrorEnabled())
{
log.error(DownloadComponent.class, e);
}
}
}
}


But the injections did not succed. I got:

org.jboss.seam.RequiredException: @In attribute requires non-null value: 
downloadComponent.#{org.jboss.seam.document.DocumentStore}
at org.jboss.seam.Component.getValueToInject(Component.java:2335)

I use PorteltBridge Version CR2 with SEAM jboss-seam-2.1.2.CR2

Any hints how to correct generate PDF an XLS Files and download them with 
correct filename and extension (.pdf and .xls) are welcome.

Kind regards

Günther Herndl

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - jboss console log rotation

2009-09-08 Thread kejoseph
Hi,

Is it possible to use log4j to rotate the console log on a daily basis ? I use 
a separate utility called cronolog. What wondering how others perform this task.

-Kevin.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254040
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Execute TimerService().createTimer() exactly once in a clust

2009-09-08 Thread pgib
Hello.

First off, I've read the article at: 
http://www.jboss.org/community/wiki/DeployingEJB3TimersInCluster  I now have a 
SLSB with an @Timeout which is deployed with: 
dependsjboss.ha:service=HASingletonDeployer,type=Barrier/depends 

The problem is, unlike the article linked above, I will not be starting the 
timers multiple times over the lifetime of the application.  In my case, I want 
the timer to be started exactly once for the whole cluster.

I previously had a ServletContextListener subclass where contextInitialized() 
would kill all timers and start them.  The problem is, now if I have more nodes 
join the cluster, the timers are killed and recreated.  Is there a better way 
to accomplish this?

Additionally, I thought maybe I could start the Timer in the @PostConstruct of 
the SLSBs themselves.  However, this fails with TimerService.getTimers should 
not be access from this bean method: IN_EJB_CREATE

Any help regarding this is appreciated! Thanks.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254043
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering] - Hot deply new version of a webapp

2009-09-08 Thread jdcmember
JBoss configuration:
* JBoss/Tomcat with a web app, clustered using ehcache (not JBoss caching -- 
but that's not important). 5 JBoss instances in the cluster.
* Apache mod_jk-based loadbalancing with sticky sessions

The problem:
How to deply a new version of the webapp *without bringing down JBoss*. We'd 
like to upgrade webapp so that
* New sessions get routed to the upgraded version of the webapp
* Existing sessions stay routed to older version of the webapp
* Clients are essentially unaware that upgrade is going on -- URLs to the 
webapp don't change, existing sessions continue without interruption, new 
sessions can be started, app never appears to come down from a client POV.

Any advise on which load balancer to use to achieve this? Particular brand of 
hardware or software? We think we got a handle on JBoss configuration and 
management, and management of the distributed caches, but getting we don't have 
any experience on involving the load balancer in the mix.

Thanks in advance for any advise, wisdom, revelations, or knowledge!

Best regards,
Brian Maso

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254044
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration Deployment] - Re: jboss console log rotation

2009-09-08 Thread PeterJ
Sorry, but there is no rolling console appender in Log4J. After all, it logs to 
the console, not to a file.

Besides, in a production environment you should turn off the console log and 
change the server log to log at either the WARN or INFO level.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254056
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering] - JBoss 4.2.3 with JBossMQ and SQL Server

2009-09-08 Thread vadi2007
15:03:15,118 WARN  [JDBCStateManager] Error initialising state manager db
org.jboss.mq.SpyJMSException: Could not commit/rollback a transaction with the 
transaction manager.; - nested throwable: (javax.transaction.RollbackException: 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.commitwhenaborted] Can't 
commit because the transaction is in aborted state)
at 
org.jboss.mq.sm.jdbc.JDBCStateManager$JDBCSession.close(JDBCStateManager.java:632)
at 
org.jboss.mq.sm.jdbc.JDBCStateManager.initDB(JDBCStateManager.java:484)
at 
org.jboss.mq.sm.jdbc.JDBCStateManager.startService(JDBCStateManager.java:392)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:304)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy51.start(Unknown Source)
at org.jboss.deployment.XSLSubDeployer.start(XSLSubDeployer.java:197)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  

[jboss-user] [Clustering] - Re: JBoss 4.2.3 with JBossMQ and SQL Server

2009-09-08 Thread vadi2007
the problem seems to be in deploy-hasingleton\jms\hsqldb-jdbc-state-service.xml

Once the db is created with the tables. You can make this false.

CREATE_TABLES_ON_STARTUP = FALSE

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254048
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - jBPM4 Sample Application

2009-09-08 Thread petitgitan
Hello everyone,

An un-original question, but the answer escapes me nonetheless: is there a 
sample application that demonstrates the new paradigms in jBPM4?  The examples 
that come with the distribution illustrate the usage of individual pieces.  I 
couldn't find documentation or sample code that puts it all together.

jBPM seems like a fantastic product, and fills a critical space in the open 
source realm, and it would be a pity to have lack of documentation as the main 
barrier to entry.

Cheers,
George


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Installation Jboss Tool by Manual

2009-09-08 Thread khoapkl
Hi All,
I using Eclipse Gaydame 3.4 and downded 
JBossTools-ALL-win32-3.0.1.GA-R200905070146-H18. I extracted that file into 
eclipse but when i open eclipse and create new file-Choose Other...I don't see 
any component that setup (Seam, Hibernate, Struts..). Why? Can you help me! 
Thanks

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254069
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Deploy webapp in external dir (AS 5.1.0)

2009-09-08 Thread am2605
Hi,

I'd like to try and deploy some of my apps to directories which aren't until 
the JBOSS_HOME, but I'm not really sure how to do it, and/or if it is possible 
to do what I want.

I found this wiki page: 
http://www.jboss.org/community/wiki/HowtodeploymyapplicationinanexternaldirectoryinJBoss-5
 

however when I try it, I get some errors on startup.

Using this approach, the relevant section of my profile.xml looks like this:



${jboss.server.home.url}deploy

!-- Custom deploy folders --
c:/app1
c:/app2



Both c:/app1 and c:/app2 are empty folders (I have also tried placing a .war 
file in each).

However JBoss won't start with this configuration.  I think it's expecting more 
stuff in those folders yes?  eg. 

ejb3-container-jboss-beans.xml
hdscanner-jboss-beans.xml
hsqldb-ds.xml
http-invoker.sar
jboss-local-jdbc.rar
jboss-xa-jdbc.rar
jbossweb.sar
jca-jboss-beans.xml
jmx-console.war
jmx-invoker-service.xml
ROOT.war
security
transaction-jboss-beans.xml

HOwever this isn't what I want.  What I really want to do is just have 2 apps 
each in a separate folder.

Similar to what you can do by adding this to a standalone tomcat's 
conf/server.xml:

Host name=app1.local appBase=webapps
  | unpackWARs=true autoDeploy=true
  | xmlValidation=false xmlNamespaceAware=false
  |   Context path= docBase=c:/app1/
  | /Host

Is it possible to do this on JBoss 5.1.0, and if so, how?

Thanks in advance,
Andrew.



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254070
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools Users] - Re: Installation Jboss Tool by Manual

2009-09-08 Thread nickboldt
See https://www.jboss.org/tools/download/installation.html

Also, make sure you're using a 5.0 or later JDK.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254072
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Deploy webapp in external dir (AS 5.1.0)

2009-09-08 Thread jaikiran
Please (re)post your configuration file change that you did and also post the 
entire exception stacktrace that you see after this change.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254076
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JCA] - Datasource Failover Notification

2009-09-08 Thread mayankmit2002
my Environment


2 Postgres Servers v 8.3.1
1 JBoss AS 4.2.3

Setup
--

In my postgress-ds.xml, I've configured the datasource as HA-XA-datasource to 
use both servers.

Problem
-
Now I want to get notified when one data base is down to intimate the clients 
that database is down.


Is there any way to listen any such JMX notification that notifies about the 
database failover



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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254079
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - Re: Deploy webapp in external dir (AS 5.1.0)

2009-09-08 Thread am2605
As requested:

C:\jboss\jboss-5.1.0.GA\server\railo\conf\bootstrap\profile.xml:

?xml version=1.0 encoding=UTF-8?
  | 
  | !--
  |The profile service
  |$Id: profile.xml 89131 2009-05-19 20:18:52Z scott.st...@jboss.org $
  | --
  | deployment xmlns=urn:jboss:bean-deployer:2.0
  | 
  | classloaderinject bean=profile-classloader:0.0.0 //classloader
  | 
  | classloader name=profile-classloader 
xmlns=urn:jboss:classloader:1.0 export-all=NON_EMPTY import-all=true
  | root${jboss.lib.url}jboss-profileservice-spi.jar/root
  | /classloader
  | 
  | !-- 
  | The profile configuration
  | This contains required properties:
  | The uri to jboss-service.xml.
  | The uri to the deployers folder.
  | A list of uris to deploy folders. --
  | bean name=BootstrapProfileFactory 
class=org.jboss.system.server.profileservice.repository.StaticProfileFactory
  |   property 
name=bindingsURI${jboss.server.home.url}conf/bindingservice.beans/property
  |   property 
name=bootstrapURI${jboss.server.home.url}conf/jboss-service.xml/property
  | property 
name=deployersURI${jboss.server.home.url}deployers/property
  | property name=applicationURIs
  | list elementClass=java.net.URI
  | value${jboss.server.home.url}deploy/value
  | valueC:/www/railo-deploy/value
  | /list
  | /property
  | property 
name=attachmentStoreRoot${jboss.server.data.dir}/attachments/property
  | property name=profileFactoryinject bean=ProfileFactory 
//property
  | /bean
  | 
  | !--  The default profile key --
  | bean name=DefaultProfileKey 
class=org.jboss.profileservice.spi.ProfileKey
  | 
constructorparameter${jboss.server.name}/parameter/constructor
  | /bean
  | 
  | !-- The ProfileService --
  | bean name=ProfileService 
class=org.jboss.system.server.profileservice.repository.AbstractProfileService
  | constructorparameterinject 
bean=jboss.kernel:service=KernelController //parameter/constructor
  | property name=deployerinject bean=ProfileServiceDeployer 
//property
  | property name=defaultProfileinject 
bean=DefaultProfileKey //property
  | /bean
  | 
  | !-- The Bootstrap implementation that loads the Profile from the 
ProfileService --
  | bean name=ProfileServiceBootstrap 
class=org.jboss.system.server.profileservice.ProfileServiceBootstrap
  | property name=profileKeyinject bean=DefaultProfileKey 
//property
  | property name=mainDeployerinject bean=MainDeployer 
//property
  | property name=profileServiceinject bean=ProfileService 
//property
  | property name=mofinject bean=ManagedObjectFactory 
//property
  | property name=mgtDeploymentCreatorinject 
bean=ManagedDeploymentCreator //property
  | property name=bootstrapProfileFactoryinject 
bean=BootstrapProfileFactory //property
  | property name=configuratorinject 
bean=jboss.kernel:service=Kernel property=configurator//property
  | /bean
  | 
  | !-- The profile factory --
  | bean name=ProfileFactory 
class=org.jboss.system.server.profileservice.repository.TypedProfileFactory
  | !-- Accept any AbstractprofileFactory --
  | incallback method=addProfileFactory /
  | uncallback method=removeProfileFactory /
  | /bean
  | 
  | !-- The profile repository factory --
  | bean name=ProfileRepositoryFactory 
class=org.jboss.system.server.profileservice.repository.TypedProfileRepository
  | !-- Accept any DeploymentRepositoryFactory --
  | incallback method=addRepositoryFactory /
  | uncallback method=removeRepositoryFactory /
  | /bean
  | 
  |   !-- The structure modification cache and checker --
  |   bean name=StructureModCache 
class=org.jboss.deployers.vfs.spi.structure.modified.DefaultStructureCache
  | destroy method=flush/
  |   /bean
  | 
  |   !-- This just checks metadata locations --
  |   bean name=MetaDataStructureModificationChecker 
class=org.jboss.deployers.vfs.spi.structure.modified.MetaDataStructureModificationChecker
  | constructor
  |   parameterinject bean=MainDeployer //parameter
  | /constructor
  | property name=cacheinject bean=StructureModCache //property
  | property name=filterbean 
class=org.jboss.system.server.profile.basic.XmlIncludeVirtualFileFilter 
//property
  |   /bean
  | 
  |   !-- Synchs modifed files --
  |   bean name=SynchAdapter 
class=org.jboss.deployers.vfs.spi.structure.modified.OverrideSynchAdapter/
  | 
  |   !-- We just visit wars, but exclude classes, lib, dev dirs --
  |   bean name=WebVisitorAttributes 
class=org.jboss.system.server.profile.basic.IncludeExcludeVisitorAttributes
  | 

[jboss-user] [JMX] - SNMP configuration in JBoss

2009-09-08 Thread arjunpnair
Hi All,

Iam trying to configure SNMP in my Jboss Application. I have enabled the SNMP 
for default server. I have one mbean for jboss messaging. I wanted to configure 
the traps for this particular mbean.

mbean code=org.jboss.jms.server.destination.QueueService
  |   name=jboss.messaging.destination:service=Queue,name=INBOUNDQUEUE
  |   xmbean-dd=xmdesc/Queue-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  |/mbean

I know that i need to do the mapping in notification.xml as well as 
jboss-service.xml. But i don't know how to do it (Syntax and all).

Can someone send the configuration for the above so that i will be able to do 
it for remaining mbeans also.

Please someone help me in doing it.

Thanks in Advance,

Regards,
Arjun

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254084
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginner's Corner] - RESOLVED - Re: Deploy webapp in external dir (AS 5.1.0)

2009-09-08 Thread am2605
Just found the answer in another thread.

In profile.xml

Rather than


  |valueC:/www/railo-deploy/value
  | 

I need


  |valuefile:///C:/www/railo-deploy/value
  | 

All working as expected now.





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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4254086
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user