[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: ClassCastException: org.jnp.interfaces.NamingContext

2008-02-03 Thread tekniklas
Thanks for your reply. Upgrade from jboss 4.0.1SP1 to 4.2.2.GA with jdk 1.5. The exception occurs regularly without affecting any functionality that I can see. It does not happen during startup but during deployment and running the app. But it seems to have been resolved now that I removedfr

[jboss-user] [Installation, Configuration & DEPLOYMENT] - ClassCastException: org.jnp.interfaces.NamingContext

2008-02-02 Thread tekniklas
Dear guys, How do I interpret the following stacktrace after upgrading to 4.2.2.GA: 2008-02-02 19:12:28,151 DEBUG [org.jboss.web.tomcat.security.SecurityFlushSessionListener] Obtaining SecurityManagerService failed:: | java.lang.ClassCastException: org.jnp.interfaces.NamingContext | a

[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: add files into deployed war file?!

2007-12-26 Thread tekniklas
There are at leaast 3 workarounds which work for me so upload directory is independent of jboss installation directory: a) Set the upload directory in a properties file, b) use a symbolic link in your file system, or c) store the files in a database. You can always inspect the apache file uplo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jbossweb sendfile with UTF-8 filenames?

2007-08-14 Thread tekniklas
"genman" wrote : | Does it work? | | What is your OS? If Linux, did you set your default Locale to UTF-8? On MS-Windows it works and on Linux (Ubuntu) it works with Apache2 Web Server but not with JBoss Web Server, JBoss AS nor Tomcat. A file named "café.html" is inaccessible (404) from

[jboss-user] [Installation, Configuration & DEPLOYMENT] - jbossweb sendfile with UTF-8 filenames?

2007-08-14 Thread tekniklas
Dear experts, The file server/default/deploy/jbossweb.sar/ROOT.war/readme.html is browsable at http://localhost/readme.html Are there jbossweb settings enabling browsing a file like server/default/deploy/jbossweb.sar/ROOT.war/réadme.html at http://host/réadme.html ? Thanks Niklas View the ori

[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 5beta1, JSF1.2 and Netbeans Visual Web Pack

2007-05-09 Thread tekniklas
I also have this problem reproduced with jboss4.2CR2 with an app which works with suns app server. The attribute id is mandatory for the tag. index.jsp: | <[EMAIL PROTECTED] contentType="text/html"%> | <[EMAIL PROTECTED] pageEncoding="UTF-8"%> | <[EMAIL PROTECTED] uri="http://java.sun.com

[jboss-user] [Beginners Corner] - Re: finding images

2007-05-04 Thread tekniklas
Apache and mod_jk in front of jboss can achieve it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043283#4043283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043283 ___ jb

[jboss-user] [Installation, Configuration & Deployment] - Re: AS 4.0.5 GA complains about unclosed connections

2007-01-19 Thread tekniklas
"PeterJ" wrote : Sorry, I was typing from memory and not from example code. I meant to also show getting the connection from the datasource and then closing the connection in the fiinally block. Thank you Peter. I am happy now that the connection is closing. I am now deploying to the jboss web

[jboss-user] [Installation, Configuration & Deployment] - Re: AS 4.0.5 GA complains about unclosed connections

2007-01-18 Thread tekniklas
"PeterJ" wrote : You code should look like: | | DataSource ds = null; | | try { | | ds = ctx.lookup(...); | | --do database stuff -- | | } finally { | | if (ds != null) ds.close(); | | } | | If you don't close the datasource before exiting the method, you get th

[jboss-user] [Installation, Configuration & Deployment] - AS 4.0.5 GA complains about unclosed connections

2007-01-17 Thread tekniklas
I get the message "[org.jboss.resource.connectionmanager.CachedConnectionManager] Closing a connection for you. Please close them yourself: org.jboss.resource.adapter.jdbc.WrappedConnection" What am I missing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=