[JBoss Seam] - Re: Local page.xml navigation rules
by artur.chyzy
Yes it should but it doesn't for me for sure.
Also i decided you get seam code and put some additional logs for filter.
Here are my results:
| following statememnt always returns false
|
|
| | if ( init!=null && init.hasHotDeployableComponents() )
| |
| init != null returns true (because it exists in ServletContext) but has not got any hot deployable components
| The for loop is never executed and the scan method also.
|
| When running on debug mode i also found in logs sth like this:
|
|
| | DEBUG [Pages] reading pages.xml
| | DEBUG [DTDEntityResolver] trying to resolve system-id http://jboss.com/products/seam/pages-1.2.dtd]
| | DEBUG [DTDEntityResolver] recognized Seam namespace; attempting to resolve on classpath under org/jboss/seam/
| | DEBUG [DTDEntityResolver] located http://jboss.com/products/seam/pages-1.2.dtd] in classpath
| |
|
| This comes from initialize method from Pages class
|
|
| | @Create
| | public void initialize()
| | {
| | InputStream stream = Resources.getResourceAsStream("/WEB-INF/pages.xml");
| | if (stream==null)
| | {
| | log.debug("no pages.xml file found");
| | }
| | else
| | {
| | log.debug("reading pages.xml");
| | parse(stream);
| | }
| | }
| |
| So this method always is looking only for pages.xml.
|
| Because the filter is never executed and Pages class looks only for pages.xml in WEB-INF it does not refresh other page.xml files.
|
| When starting app the setter method from Init class
|
| | public void setHotDeployPaths(File[] hotDeployJars)
| |
| is executed. The problem is that the array is always null. Thats why statement init.hasHotDeployableComponents() return false
|
| Also my config in components.xml for debug mode looks like this
|
| | <core:init debug="true" jndi-pattern="@jndiPattern@" />
| |
| jndiPattern is replaced by ant script
|
| I don't know why but for me the filter does absolutly nothing (for loop searching for refresh is never executed)
|
| Anyone has similar problem ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033062#4033062
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033062
17Â years, 9Â months
[JBoss Messaging] - ServiceBindingManager config is not honoured
by mskonda
JBM-1.2.0.GA
JBoss 4.0.5.GA
I have updated my binginds file to reflect the service-config for ServiceBindingManager (shown below):
<service-config name="jboss.messaging:service=Connector,transport=socket"
| delegateClass="org.jboss.services.binding.AttributeMappingDelegate">
| <delegate-config>
| <attribute name="Configuration"><![CDATA[
| <config>
| <invoker transport="socket">
| <attribute name="marshaller" isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| <attribute name="unmarshaller" isParam="true">org.jboss.jms.server.remoting.JMSWireFormat</attribute>
| <attribute name="serializationtype" isParam="true">jboss</attribute>
| <attribute name="dataType" isParam="true">jms</attribute>
| <attribute name="socket.check_connection" isParam="true">false</attribute>
| <attribute name="timeout">0</attribute>
| <attribute name="serverBindAddress">${jboss.bind.address}</attribute>
| <attribute name="serverBindPort">53026</attribute>
| <attribute name="leasePeriod">20000</attribute>
| </invoker>
| <handlers>
| <handler subsystem="JMS">org.jboss.jms.server.remoting.JMSServerInvocationHandler</handler>
| </handlers>
| </config>]]>
| </attribute>
| </delegate-config>
|
| <binding port="53026"/>
| </service-config>
|
However, this config seems to be not honoured as the second instance complains about the in use port.
I have to change the jboss-messaging.sar/remoting-service.xml in order to work.
Is this a known bug? or am I missing something in config?
Thanks
Madhu
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4033058#4033058
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4033058
17Â years, 9Â months