jackrabbit-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From simer anand <simer.anan...@gmail.com>
Subject Re: [Fatal Error] workspace.xml:1:43: Invalid encoding name "ISO8859_1".
Date Mon, 27 Jul 2009 07:57:34 GMT
 hello  users (help required)

facing some errors when running the code for HOP1
I have again generated the repository folder and repository.xml file
but it causing some error
and somehow i'm not able to resolve it
i don't know y it is showing error in workspaces
as that one is created by the program itself

following is the bug i'm facing


[sda_tr1@cad44 testing]$ java -cp ${CLASSPATH}:. FirstHop
490 [main] INFO org.apache.jackrabbit.core. TransientRepository - Copying
default configuration to repository.xml
566 [main] INFO org.apache.jackrabbit.core.TransientRepository - Creating
repository home directory repository
[Fatal Error] workspace.xml:1:43: Invalid encoding name "ISO8859_1".
Exception in thread "main" javax.jcr.RepositoryException: Invalid repository
configuration: repository.xml: Configuration file syntax error. (Line: 1
Column: 43): Invalid encoding name "ISO8859_1".: Configuration file syntax
error. (Line: 1 Column: 43): Invalid encoding name "ISO8859_1".: Invalid
encoding name "ISO8859_1".
       at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:240)
       at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
       at FirstHop.main(FirstHop.java:22)
Caused by: org.apache.jackrabbit.core.config.ConfigurationException:
Configuration file syntax error. (Line: 1 Column: 43): Invalid encoding name
"ISO8859_1".: Invalid encoding name "ISO8859_1".
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:252)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:221)
       at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:410)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:379)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.internalCreateWorkspaceConfig(RepositoryConfig.java:583)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:621)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:346)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:150)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:91)
       at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:234)
       ... 4 more
Caused by: org.xml.sax.SAXParseException: Invalid encoding name "ISO8859_1".
       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:246)
       ... 13 more
org.apache.jackrabbit.core.config.ConfigurationException: Configuration file
syntax error. (Line: 1 Column: 43): Invalid encoding name "ISO8859_1".:
Invalid encoding name "ISO8859_1".
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:252)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:221)
       at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:410)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:379)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.internalCreateWorkspaceConfig(RepositoryConfig.java:583)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:621)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:346)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:150)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:91)
       at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:234)
       at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
       at FirstHop.main(FirstHop.java:22)
Caused by: org.xml.sax.SAXParseException: Invalid encoding name "ISO8859_1".
       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:246)
       ... 13 more
org.xml.sax.SAXParseException: Invalid encoding name "ISO8859_1".
       at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
       at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:246)
       at
org.apache.jackrabbit.core.config.ConfigurationParser.parseXML(ConfigurationParser.java:221)
       at
org.apache.jackrabbit.core.config.RepositoryConfigurationParser.parseWorkspaceConfig(RepositoryConfigurationParser.java:410)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.loadWorkspaceConfig(RepositoryConfig.java:379)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.internalCreateWorkspaceConfig(RepositoryConfig.java:583)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.createWorkspaceConfig(RepositoryConfig.java:621)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.init(RepositoryConfig.java:346)
       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:150)

On 7/27/09, simer anand <simer.anand88@gmail.com> wrote:
>
> hello users
>
> please provide me some solution
>
> for this bug
>

       at
org.apache.jackrabbit.core.config.RepositoryConfig.create(RepositoryConfig.java:91)
       at
org.apache.jackrabbit.core.TransientRepository$2.getRepository(TransientRepository.java:234)
       at
org.apache.jackrabbit.core.TransientRepository.startRepository(TransientRepository.java:255)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:323)
       at
org.apache.jackrabbit.core.TransientRepository.login(TransientRepository.java:378)
       at FirstHop.main(FirstHop.java:22)


please guide me
waiting for reply

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message