-
1. Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
nickarls Feb 10, 2011 3:00 AM (in response to vtech005)What version of AS are you running? I only found posts from mid-2008 regarding this...
-
2. Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
vtech005 Feb 10, 2011 4:07 AM (in response to nickarls)I am running Jboss-5.1.0.GA Version....did you exprence this issue sometimes before?
please advice
-
3. Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
nickarls Feb 10, 2011 4:29 AM (in response to vtech005)AS 5 appears to come with VFS 2.1.2.GA so that would be a downgrade. Have you tried with a clean AS so you're sure it was the java update that did something. If so, can't you just rollback the java update?
-
4. Re: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
patrycja Jun 9, 2011 5:26 AM (in response to vtech005)2011-06-08 10:06:35,981 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error installing to Start: name=WebServer state=Create org.jboss.xb.binding.JBossXBException: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
I had this error too and counld't find the solution. What had misled me was that there was such bug in the VFS:
http://web.archiveorange.com/archive/v/4gws3I3RGmFd1EUkLSXA
It is an issue of the new VFS impl. It seems to be working if you fall back to the old impl with -Djboss.vfs.forceVfsJar
Bu no, it wasn't my case. I'm using JBoss AS 5.1 GA and jboss-vfs ver. 2.2.0 GA.
But finally I've managed to find solution:http://www.pgu-support.ru/forum/index.php?topic=683.0
Такая ошибка может возникать в случае если вы редактировали файл /server/default/deploy/jbossweb.sar/server.xml (либо другие конфигурационные файлы) и возможно при редактировании неверно выбрали кодировку. Многие редакторы по умолчанию делают WIN1251. Но все конфигурационные файлы АИС МФЦ должны быть сохранены в кодировке UTF-8.
-> GoogleTranslation: This error can occur if you edit the file /server/default/deploy/jbossweb.sar/server.xml (or other configuration files), and possibly for editing incorrectly chosen charset. Many editors make the default WIN1251. But all the configuration files AIS MFC must be saved in UTF-8.
My problem was slightly different I've accidentally removed the whole content of /server/default/deploy/jbossweb.sar/server.xml
RUSSIAN HACKERS RULEZ!!!
Hope it helps someone.
It would be nice to have more verbose error message, wouldn't it?
-
5. Re: Failed to parse source: Premature end of file. @ *unknown*[-1,-1]
vinayak_kadam Jul 27, 2012 2:58 AM (in response to patrycja)Thanks a lot guys..
I was facing same problem.Your trick resolved my problem..