[JBoss-user] [Installation & Configuration] - Re: Preoblems with JNI-modules

2004-08-20 Thread frodeh
My initial problem was solved by creating a MBean that took care of the instanciating of the object that loaded the DLL. My next problem is to discover when the object has lost connection with the DCOM-server, and then restart the MBean. The detection is easey, because any call to any method of

[JBoss-user] [Installation & Configuration] - Preoblems with JNI-modules

2004-08-19 Thread frodeh
When I run JBoss on a Windows-server, and uses InfoZoom-generated classes for accessing a DCOM-server, I am not able to redeploy my webapp. The server says :"java.lang.UnsatisfiedLinkError: Native Library C:\Program Files\infozoom\izmjnicom.dll already loaded in another classloader" Is there po

[JBoss-user] [Installation & Configuration] - XML-Parser does not decode correctly ?

2004-06-11 Thread frodeh
I am using JBoss 3.2.3, and the JDom XML-package. This package uses the same parser JBoss already has installed. When I parse documents, it seems that the encoding in the declaration-tag is ignored. The parser does not convert any encoded characters to unicode, thus every string is stored exact

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Where to store JSP generated by a servlet ?

2004-04-10 Thread frodeh
If you deploy a packed war, You have to put the JSP in the temp-directory that the WAR is unpacked in. I deploy my apps fully exploded (both ear's and wars and jars for ejb's) and can put a new JSP directly into the .war-directory and call it later. If I had a servlet that generated a new JSP,

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Multiple instances of servlet

2004-04-09 Thread frodeh
Create a 'dummy'servlet to get the request. In this servlet, create an instance of a plai java-class hat does all processing. If you have any 'persistent' references in your serlet that is set during init(), pass those on as creation-parameters to your 'servlet'-class. View the original post :

[JBoss-user] [HTTPD, Servlets & JSP] - what url caused '404' ?

2004-04-09 Thread frodeh
I have redirected the 404-error to an JSP (in my WEB.XML). I want to find out whatvthe client asked for that caused the 404. How can I do that ? Either in a JSP or in a Servlet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829912#3829912 Reply to the post

[JBoss-user] [Installation & Configuration] - How to obtain the cause of a '404'

2004-04-08 Thread frodeh
When redirecting to an error-page, How can we get info about the URL requested thatt caused the 404? I would like too show different pages based on what the client requested. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829844#3829844 Reply to the post :

[JBoss-user] [Installation & Configuration] - How to retrieve the missing URL when using

2004-04-08 Thread frodeh
I have : 404 < location>/404.jsp< /location> in my web.xml. Is there any way I can find out the original request that caused the 404.jsp to be invoked ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3829748#

[JBoss-user] [Installation & Configuration] - Virtual Host Aliases SOLUTION

2004-03-12 Thread frodeh
The solution was at Tomcat's own pages. The tomcat-config creates the virtual-hosts with HOST="hostname", which is the same name yoy must refer to in the jboss-web.xml. This does not have to be a valid name, just an internal name. Then you specify "www.realhost.com" as an alias in the tomcat-co

[JBoss-user] [Installation & Configuration] - Re: Virtual Host Aliases

2004-03-11 Thread frodeh
Hello. I have succesfully set up my JBoss 3.2 with Tomcat to serve different EAR's for different host-names. This works fine as long as I map only one virtual-host-name per web-app, and all the rest goes to one unspecified one. I would like however to be able to specify 2 or 3 virtual-hosts (w