On Thu, Feb 9, 2012 at 8:44 AM, Anjana Fernando <anj...@wso2.com> wrote:
> Hi Jorge, > > Is the password value properly XML escaped in the dbs file? .. basically > you should enter that value from the wizard, which will automatically > escape it when writing the XML out, or the value if you're hand editing > should be "&3dfA23aaaBBCm7dNCd#sdZ43". > or you need to use the <![CDATA[ tag to escape them. thanks, Amila. > > Cheers, > Anjana. > > On Wed, Feb 8, 2012 at 7:23 PM, Jorge Infante Osorio <jorg...@uci.cu>wrote: > >> Hi folk.**** >> >> ** ** >> >> I use AS 4.1.2.**** >> >> ** ** >> >> I need to use a password to access to a database and receive that error. >> The pass that I use: &3dfA23aaaBBCm7dNCd#sdZ43**** >> >> ** ** >> >> ERROR:**** >> >> ** ** >> >> DS Code: UNKNOWN_ERROR**** >> >> Nested Exception:-**** >> >> org.apache.axiom.om.OMException: >> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' >> (code 51) (expected a name start character)**** >> >> at [row,col {unknown-source}]: [6,58]**** >> >> ** ** >> >> at >> org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat(DBDeployer.java:464) >> **** >> >> at >> org.wso2.carbon.dataservices.core.DBDeployer.createDBService(DBDeployer.java:710) >> **** >> >> at >> org.wso2.carbon.dataservices.core.DBDeployer.processService(DBDeployer.java:1068) >> **** >> >> at >> org.wso2.carbon.dataservices.core.DBDeployer.deploy(DBDeployer.java:175)* >> *** >> >> at >> org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136) >> **** >> >> at >> org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:813) >> **** >> >> at >> org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144) >> **** >> >> at >> org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:371) >> **** >> >> at >> org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254) >> **** >> >> at >> org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:365) >> **** >> >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:73) >> **** >> >> at >> org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:94) >> **** >> >> at >> org.apache.axis2.deployment.scheduler.Scheduler$SchedulerTimerTask.run(Scheduler.java:93) >> **** >> >> at java.util.TimerThread.mainLoop(Unknown Source)**** >> >> at java.util.TimerThread.run(Unknown Source)**** >> >> Caused by: org.apache.axiom.om.OMException: >> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '3' >> (code 51) (expected a name start character)**** >> >> at [row,col {unknown-source}]: [6,58]**** >> >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:296) >> **** >> >> at >> org.apache.axiom.om.impl.llom.OMSerializableImpl.build(OMSerializableImpl.java:78) >> **** >> >> at >> org.apache.axiom.om.impl.llom.OMElementImpl.build(OMElementImpl.java:722) >> **** >> >> at >> org.wso2.carbon.dataservices.core.DBDeployer.convertConfigToMultipleDSFormat(DBDeployer.java:425) >> **** >> >> ... 14 more**** >> >> Caused by: com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected >> character '3' (code 51) (expected a name start character)**** >> >> at [row,col {unknown-source}]: [6,58]**** >> >> at >> com.ctc.wstx.sr.StreamScanner.throwUnexpectedChar(StreamScanner.java:648) >> **** >> >> at >> com.ctc.wstx.sr.StreamScanner.parseFullName(StreamScanner.java:1861)**** >> >> at >> com.ctc.wstx.sr.StreamScanner.parseEntityName(StreamScanner.java:1985)*** >> * >> >> at >> com.ctc.wstx.sr.StreamScanner.fullyResolveEntity(StreamScanner.java:1496) >> **** >> >> at >> com.ctc.wstx.sr.BasicStreamReader.nextFromTree(BasicStreamReader.java:2757) >> **** >> >> at >> com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1019)**** >> >> at >> org.apache.axiom.util.stax.wrapper.XMLStreamReaderWrapper.next(XMLStreamReaderWrapper.java:225) >> **** >> >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.parserNext(StAXOMBuilder.java:681) >> **** >> >> at >> org.apache.axiom.om.impl.builder.StAXOMBuilder.next(StAXOMBuilder.java:214) >> **** >> >> ... 17 more**** >> >> ** ** >> >> Thanks,**** >> >> ** ** >> >> Saludos,**** >> >> Ing. Jorge Infante Osorio.**** >> >> J´Dpto Soluciones SOA.**** >> >> CDAE.**** >> >> Fac. 5.**** >> >> UCI.**** >> >> ** ** >> >> <http://www.antiterroristas.cu/> >> >> >> _______________________________________________ >> Carbon-dev mailing list >> Carbon-dev@wso2.org >> http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev >> >> > > > -- > *Anjana Fernando* > Senior Software Engineer > WSO2 Inc. | http://wso2.com > lean . enterprise . middleware > > _______________________________________________ > Carbon-dev mailing list > Carbon-dev@wso2.org > http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev > > -- *Amila Suriarachchi* Software Architect WSO2 Inc. ; http://wso2.com lean . enterprise . middleware phone : +94 71 3082805
_______________________________________________ Carbon-dev mailing list Carbon-dev@wso2.org http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev