[JBoss AS 7 Development] - Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )
by chris81t
chris81t [https://community.jboss.org/people/chris81t] created the discussion
"Using SSI (server-side includes) in JBoss AS 7.1 ( Thunder )"
To view the discussion, visit: https://community.jboss.org/message/718067#718067
--------------------------------------------------------------
Hi folks!
I want to provide SSI ( server-side includes ) in the AS 7.1. I've got a war module in an EAR, which contains amongst other things *.html content like:
test page.
I have found to set following things into the web.xml to activate it:
<servlet>
<servlet-name>SSI</servlet-name>
<servlet-class>
org.apache.catalina.ssi.SSIServlet
</servlet-class>
<init-param>
<param-name>buffered</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>debug</param-name>
<param-value>1</param-value>
</init-param>
<init-param>
<param-name>expires</param-name>
<param-value>60</param-value>
</init-param>
<init-param>
<param-name>isVirtualWebappRelative</param-name>
<param-value>0</param-value>
</init-param>
<load-on-startup>4</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>SSI</servlet-name>
<url-pattern>*.shtml</url-pattern>
</servlet-mapping>
but nothing happen's. ( no debug output is given to the server console )
Neigher the #include nor the #echo are working. What's wrong or what I have forget to do? Can anybody help me?
Also I have found following link http://docs.jboss.org/jbossweb/7.0.x/ssi-howto.html http://docs.jboss.org/jbossweb/7.0.x/ssi-howto.html
....To use the SSI servlet, remove the XML comments from around the SSI servlet and servlet-mapping configuration in $CATALINA_BASE/conf/web.xml....
But where is it? I think the only configuration file is for me the ( using standalone ) standalone.xml in the configuration folder. There I have not found something like SSI.
Thanks a lot!!!
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/718067#718067]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 1 month
[JBoss AS 7 Development] - Re: Custom jdbc login module for remoting
by Daniel Jipa
Daniel Jipa [https://community.jboss.org/people/danjee] created the discussion
"Re: Custom jdbc login module for remoting"
To view the discussion, visit: https://community.jboss.org/message/717903#717903
--------------------------------------------------------------
Here are bits of my standalone.xml configuration:
[...]
<management>
<security-realms>
<security-realm name="ManagementRealm">
<authentication>
<properties path="mgmt-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
<security-realm name="ApplicationRealm">
<authentication>
<properties path="application-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
<security-realm name="MyAppRealm">
<authentication>
<properties path="myapp-users.properties" relative-to="jboss.server.config.dir"/>
</authentication>
</security-realm>
</security-realms>
<management-interfaces>
<native-interface security-realm="ManagementRealm">
<socket-binding native="management-native"/>
</native-interface>
<http-interface security-realm="ManagementRealm">
<socket-binding http="management-http"/>
</http-interface>
</management-interfaces>
</management>
[...]
<subsystem xmlns="urn:jboss:domain:remoting:1.1">
<connector name="remoting-connector" socket-binding="remoting" security-realm="MyAppRealm"/>
</subsystem>
<subsystem xmlns="urn:jboss:domain:resource-adapters:1.0"/>
<subsystem xmlns="urn:jboss:domain:sar:1.0"/>
<subsystem xmlns="urn:jboss:domain:security:1.1">
<security-domains>
<security-domain name="asf-jaas" cache-type="default">
<authentication>
<login-module code="com.asf.security.server.jaas.LdapFallbackJdbcLoginModule" flag="required">
<module-option name="debug" value="true"/>
</login-module>
</authentication>
</security-domain>
</security-domains>
</subsystem>
[...]
What should I modify in order that remote JNDI will use my custom login module ?
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/717903#717903]
Start a new discussion in JBoss AS 7 Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 1 month
Re: [jboss-dev-forums] [JBoss AS 7 Development] - Data Source Configuration in AS 7
by chris Rowse
chris Rowse [https://community.jboss.org/people/chris.rowse] commented on the document
"Data Source Configuration in AS 7"
To view all comments on this document, visit: https://community.jboss.org/docs/DOC-16657#comment-9005
--------------------------------------------------
I dont understand why this page is necessary.
Previous versions of JB had all the datasources ready to be enabled - just modiify the xml. i.e. the worked case examples were there, almost ready to use. The XML could be provided by development teams to test teams, and only required the copying of the file to the allocated place. No existing scripts needed to be manually altered in the installation process. Migration between dev, test, production and DR was simplified and could be easily automated.
Now I sit, well into the 3rd millenium, with configuration that is as tricky and technical as mainframe JCL configurations in the late 1970s .
All my hard earned and paid for previous experience and scripting of JB goes out the window.
There is a semi functional JB admin consol. I should be able use it to download and install the drivers, connect to my datasources and check they are working. This should be easy to use. I could not care about the syntax of the JB internal stores and configuration files.
I should also be able to get from the admin console a XML fragment to give to programmers in order to configure the persistence unit connection.
I should not have to waste time fiddling and faddling through countless wikis and altering scripts.
JB should utilise maven to better manage version control during installation and production.
--------------------------------------------------
11 years, 1 month