[Beginner's Corner] - Re: jboss with website root which sits deep in the app
by down7ime
jboss will look at the first war folder thats defined in the scanning directory and deploy that, it will ignore nested wars.
I've managed to get it working but its quite messy, all i need to clean it up is a way to map a directory within the deployed context.
so i now have
/core
/core/webtop
/plugins
/projects/appName/www.war
but i need a way to setup an alias of "webtop" under www.war
to get around it ive just copied the "webtop" resources to the deploy directory, works fine, but that completely screws up the frameworks structure, not the best for subversion and working with the app on multiple environments.
Any ideas PeterJ? i have tried added a context tag for my application host tag under deploy/jbossweb.sar/server.xml but regardless of the format and attributes i define the instance just fails to come up
the error i keep getting, regardless of the attributes i define is
DEPLOYMENTS IN ERROR:
Deployment "WebServer" is in error due to the following reason(s): org.jboss.xb.binding.JBossXBRuntimeException: Context cannot appear in this position. Expected content of Host is unordered_sequence: Listener* Valve* Alias* Realm? attributes?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264716#4264716
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264716
16 years, 5 months
[JBoss Messaging Users] - Re: Configuration of the bridge btween JBoss messaging and A
by yungsiu
I am trying to implement like this:
> There are 2 servers: application server & jms server.
> App server has JBM queues and bridges, JMS server has activeMQ runing.
> Messages will be sent to the JBM queues from application and then forward to JMS server by bridges.
There is no problem on doing this with JBM to JBM, but failed with JBM to ActiveMQ.
It should be the configuration issue and there is little reference I can find from the web.
I have set jms-ds.xml and bridge-ds.xml as follows:
| jms-ds.xm:
| ...
| <mbean code="org.jboss.jms.jndi.JMSProviderLoader"
| name="jboss.mq:service=JMSProviderLoader,name=ActiveMQJMSProvider">
| <attribute name="ProviderName">ActiveMQJMSProvider</attribute>
| <attribute name="ProviderAdapterClass">org.jboss.jms.jndi.JNDIProviderAdapter</attribute>
| <attribute name="FactoryRef">ActiveMQConnectionFactory</attribute>
| <attribute name="QueueFactoryRef">ActiveMQConnectionFactory</attribute>
| <attribute name="TopicFactoryRef">ActiveMQConnectionFactory</attribute>
| <attribute name="Properties">
| java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
| java.naming.provider.url=tcp://172.19.4.110:61616
| </attribute>
| </mbean>
| ...
|
| bridge-ds.xml:
| ...
| <mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=bArrival_err_incoming" xmbean-dd="xmdesc/Bridge-xmbean.xml">
| <depends>jboss.mq.destination:service=Queue,name=qArrival_err_incoming</depends>
| <depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider</depends>
| <depends optional-attribute-name="TargetProviderLoader">jboss.jms:service=JMSProviderLoader,name=ActiveMQJMSProvider</depends>
| <attribute name="SourceDestinationLookup">/queue/qArrival_err_incoming</attribute>
| <attribute name="TargetDestinationLookup">/qCustoms_initial_err_incoming</attribute>
|
| <attribute name="QualityOfServiceMode">2</attribute>
| <attribute name="MaxBatchSize">1</attribute>
| <attribute name="MaxBatchTime">20000</attribute>
| <attribute name="FailureRetryInterval">5000</attribute>
| <attribute name="MaxRetries">-1</attribute>
| <attribute name="AddMessageIDInHeader">false</attribute>
| </mbean>
| ...
|
Could anyone tell me what's wrong with the config files? or what should be the correct configurations. Thanks~
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264715#4264715
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264715
16 years, 5 months
[JBoss Messaging Users] - Configuration of the bridge btween JBoss messaging and Activ
by yungsiu
I am trying to implement like this:
> There are 2 servers: application server & jms server.
> App server has JBM queues and bridges, JMS server has activeMQ runing.
> Messages will be sent to the JBM queues from application and then forward to JMS server by bridges.
There is no problem on doing this with JBM to JBM, but failed with JBM to ActiveMQ.
It should be the configuration issue and there is little reference I can find from the web.
I have set jms-ds.xml and bridge-ds.xml as follows:
jms-ds.xm:
...
ActiveMQJMSProvider
org.jboss.jms.jndi.JNDIProviderAdapter
ActiveMQConnectionFactory
ActiveMQConnectionFactory
ActiveMQConnectionFactory
java.naming.factory.initial=org.apache.activemq.jndi.ActiveMQInitialContextFactory
java.naming.provider.url=tcp://172.19.4.110:61616
...
bridge-ds.xml:
...
<mbean code="org.jboss.jms.server.bridge.BridgeService" name="jboss.messaging:service=Bridge,name=bArrival_err_incoming" xmbean-dd="xmdesc/Bridge-xmbean.xml">
jboss.mq.destination:service=Queue,name=qArrival_err_incoming
<depends optional-attribute-name="SourceProviderLoader">jboss.messaging:service=JMSProviderLoader,name=JMSProvider
<depends optional-attribute-name="TargetProviderLoader">jboss.jms:service=JMSProviderLoader,name=ActiveMQJMSProvider
/queue/qArrival_err_incoming
/qCustoms_initial_err_incoming
2
1
20000
5000
-1
false
...
Could anyone tell me what's wrong with the config files? or what should be the correct configurations. Thanks~
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264714#4264714
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264714
16 years, 5 months