Hi all, When I am using JBoss and Tomcat 4.0.1 integrated build. I get an error with any of my JBoss.xml files that have the <?xml version="1.0" encoding="Cp1252"?> line. The error is when starting JBoss and it says:
[AutoDeployer] Deployment failed:file:/C:/JBoss-2.4.3_Tomcat-4.0/jboss/deploy/SpecSL.jar [AutoDeployer] org.jboss.deployment.J2eeDeploymentException: Error while starting SpecSL.jar: Could not deploy file:/C:/JBoss-2.4.3_Tomcat-4.0/jboss/tmp/deploy/Default/SpecSL.jar, Cause: org.jboss.ejb.DeploymentException : Could not deploy file:/C:/JBoss-2.4.3_Tomcat-4.0/jboss/tmp/deploy/Default/SpecSL.jar, Cause:org.jboss.ejb.De ploymentException: Stopping after fatal error: The encoding "Cp1252" is not supported., Cause:org.xml.sax.SAXE xception: Stopping after fatal error: The encoding "Cp1252" is not supported. [AutoDeployer] at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:519) [AutoDeployer] at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:468) [AutoDeployer] at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:208) [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [AutoDeployer] at org.jboss.ejb.AutoDeployer.deploy(AutoDeployer.java:379) [AutoDeployer] at org.jboss.ejb.AutoDeployer.run(AutoDeployer.java:217) [AutoDeployer] at org.jboss.ejb.AutoDeployer.startService(AutoDeployer.java:353) [AutoDeployer] at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:107) [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [AutoDeployer] at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(Configurati onService.java: 836) [AutoDeployer] at $Proxy0.start(Unknown Source) [AutoDeployer] at org.jboss.util.ServiceControl.start(ServiceControl.java:81) [AutoDeployer] at java.lang.reflect.Method.invoke(Native Method) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) [AutoDeployer] at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) [AutoDeployer] at org.jboss.Main.<init>(Main.java:221) [AutoDeployer] at org.jboss.Main$1.run(Main.java:127) [AutoDeployer] at java.security.AccessController.doPrivileged(Native Method) [AutoDeployer] at org.jboss.Main.main(Main.java:123) As you can see... it says that Cp1252 is not supported. Yet with JBoss and Tomcat 3.x.x it works fine! What is going on here? Does this have anything to do with the fact that I am using Cocoon2? How do I fix this? (Other than by changing the encoding type to something else ("UTF-8"?)) Thanks, -Tim ------------------------------------- Gin-Ting Chen [EMAIL PROTECTED] 727-738-3000 x6549 Sun Certified Programmer Sun Certified Web Component Developer BEA Certified Developer -- To unsubscribe: <mailto:[EMAIL PROTECTED]> For additional commands: <mailto:[EMAIL PROTECTED]> Troubles with the list: <mailto:[EMAIL PROTECTED]>