Hi, in JDK 1.5 there is support for adding a charset by creating a class that extends java.nio.charset.spi.CharsetProvider and one that extends java.nio.charset.Charset.
The CharsetProvider is identified by placing a file called java.nio.charset.spi.CharsetProvider in META-INF/services of a jar-file in the classpath and should then be loaded. This works fine when I run standalone but when I put the jar file in server/default/lib, it does not work. The classloader can't find my provider and it is never instansiated. I've checked which charsets are availible according to the classloader at that time and my charset is not included eventhough I have no problem to instanciate classes from that jar. A bad hack but which works is to put this jar file onto the JBOSSCLASSPATH in the run.bat/.sh Script, but this is really just because I did not know what to do otherwise... Any ideas...? Thanks Werner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3943084#3943084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3943084 ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-user
