[JBoss-user] [HTTPD, Servlets & JSP] - Is per-host / root-to-context mapping possible ?

2005-06-24 Thread Teej
Using JBoss 4.0.2/Tomcat5.5. I've got a scenario where JBoss services several hostnames. It also listens on multiple public IPs that are associated with different hosts. For each host the url http://hostname/ needs to map to a different context. Is it possible, by juggling the Tomcat server.xm

[JBoss-user] [JBoss Portal] - Error: No such resource key in resource file

2005-06-24 Thread Teej
Seeing these Error reports with 2.0 Final on JBoss 4.0.2/JVM 1.5 2005-06-24 19:01:19,000 ERROR [org.jboss.portal.core.servlet.jsp.PortalJsp] No such resource key in resource file: REGISTER_YOURAVATAR 2005-06-24 19:01:19,000 ERROR [org.jboss.portal.core.servlet.jsp.PortalJsp] No such resource key

[JBoss-user] [Installation & Configuration] - Re: RemoteAddrValve to protect core apps?

2005-06-16 Thread Teej
I eventually found a location that gets read, by monitoring the file-system for "FILE NOT FOUND" using sysinternal's File Monitor. Placing context.xml in the web-console.war/WEB_INF/ folder creates the Valve | | Unfortunately, it creates TWO Valves! During deployment the same context.xml

[JBoss-user] [Installation & Configuration] - Re: RemoteAddrValve to protect core apps?

2005-06-16 Thread Teej
Of course I meant to write | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881861#3881861 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881861 --- SF.N

[JBoss-user] [Installation & Configuration] - RemoteAddrValve to protect core apps?

2005-06-16 Thread Teej
I'm looking for instructions on how to use RemoteAddrValve to protect web applications at the context level. Using JBoss 4.0.2, two HTTP connectors - one LAN one Internet. 10.254.251.20:9006 & a.b.c.d:80 I want to allow access to the web-console, jmx, etc., and a custom admin console web-app f

[JBoss-user] [Installation & Configuration] - Re: Exporting the Private key from a SSL Certificate

2005-06-16 Thread Teej
Hmmm... the BBcode URL tag doesn't work in the forums as advertised... Here's that article name again! Trusted Code-Signing for Free - http://tjworld.net/help/ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881854#3881854 Reply to the post : http://www.jbos

[JBoss-user] [Installation & Configuration] - Re: Exporting the Private key from a SSL Certificate

2005-06-16 Thread Teej
I think an article I wrote a while back will help you. Take a look at http://tjworld.net/help/ It covers extracting a code-signing key from a Java keystore and importing it into Windows certificate store. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881853

[JBoss-user] [Installation & Configuration] - Re: Multiple Jboss's

2005-06-16 Thread Teej
I've almost completed an article on clustering multiple instances of JBoss 4.0.2 which includes detailed instructions on the ports that need re-mapping to allow multiple instances to co-exist. It might be of help to you. http://tjworld.net/help/ View the original post : http://www.jboss.org

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How is HTTP compression enabled on HTTP/1.1 connector?

2005-05-11 Thread Teej
It looks like compression may be working after all, but the Port80 compression-testing tool doesn't realise. I just ran a manual telnet session to the server... GET / HTTP/1.1 | Host: test.domain.name | Accept: */* | Accept-Encoding: gzip | ... and got this result: HTTP/1.1 200 OK | X

[JBoss-user] [HTTPD, Servlets & JSP] - Re: How is HTTP compression enabled on HTTP/1.1 connector?

2005-05-11 Thread Teej
Follow-up I enabled logging for the connector by adding a connector category entry to the Log4J properties and it shows that the compression attributes are being set in the Http11Protocol class. jboss-4.0.1\server\default\conf\log4j.xml | | | | | | |

[JBoss-user] [HTTPD, Servlets & JSP] - How is HTTP compression enabled on HTTP/1.1 connector?

2005-05-11 Thread Teej
Using JBoss 4.0.1 with Tomcat 5.0.28, and the 'default' configuration. Cannot get the HTTP connector to perform compression despite having the correct entries in Tomcat's server.xml. As you'll see from my investigation below I've looked into the source-code and cannot find any clues. Googling h

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
Just to complete the topic for others that want to do the same thing as me, here's the basic code in my Servlet. It looks for usernames first as a sub-domain, then in the path, so the following URLs will all be handled properly. http://username.domain.name/ http://domain.name/username http://u

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
Even more interesting... Earlier I placed the JSF libraries in the jboss-4.0.1/server/default/lib/ folder, but still got the same deployment error after restarting the JBoss service. I just removed the two JSF libraries from my web-app's WEB-INF/lib/ folder, expecting the deployment to fail b

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
Lets try that again... formatting removed some of the content | | http://java.sun.com/xml/ns/j2ee"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee | http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> |

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
Yes... http://java.sun.com/xml/ns/j2ee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";> Parses a URL and passes control to relavant servlet Traffic

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
The web.xml is about 39KB so I've linked to a copy of it to save posting reams of text. jboss-4.0.1\server\default\deploy\jbossweb-tomcat50.sar\conf\web.xml http://tjworld.net/help/kb/web.xml.txt View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874292#387429

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
I appear to have fixed my issue simply by including jsf-api.jar jsf-impl.jar in my web-app's WEB-INF/lib/ folder. Deployment is now successful and a URL such as: http://somethingHere.domain.name/somethingHereToo is handled by my web-app. This still doesn't explain WHY the JSF libraries are

[JBoss-user] [HTTPD, Servlets & JSP] - Re: ROOT.war, root context, wildcard virtual hosts?

2005-04-18 Thread Teej
I've also tried putting localhost in jboss-web.xml but the same ClassNotFoundException is thrown as when there is no virtual-host definition. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874285#3874285 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [HTTPD, Servlets & JSP] - ROOT.war, root context, wildcard virtual hosts?

2005-04-17 Thread Teej
Working with JBoss 4.0.1 & Tomcat with the 'default' server configuration. How can I have a root-context application respond to all hostnames that resolve to an IP address that JBoss/Tomcat is configured to listen on? E.g. *.domain.name *.domain.biz *.domain.org As you'll see from my detailed e

[JBoss-user] [Installation & Configuration] - How to upgrade 4.0.1 to 4.0.1sp1?

2005-04-17 Thread Teej
Is it a case of simply extracting the download archive over an existing installation of 4.0.1 (ensuring that custom configurations are preserved) ? I'm working with the Windows ZIP package. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874246#3874246 Reply