Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / June 2006

Tip: Looking for answers? Try searching our database.

something suddenly went wrong with my project ?

Thread view: 
folamour - 13 Jun 2006 09:11 GMT
Hello,
There is something wrong with my J2EE project sources (the production
server is fine).
Everything was great until last week, I don't know what happened but I
guess some of the source files get corrupted or somethign... Now when I
press "start Tomcat" button in Eclipse, I get this kind of error (I
can't understand a word of it except it is about sax parser getting
errors) :

...
NFO: XML validation disabled
2006-06-13 10:03:27,575 [main] DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sohan]
- Connecting to URL ldap://192.1.7.98:389
2006-06-13 10:03:27,746 [main] DEBUG
org.apache.commons.digester.Digester - addRuleSet() with no namespace
URI
2006-06-13 10:03:28,184 [main] DEBUG
org.apache.commons.digester.Digester.sax -
setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@553763)
2006-06-13 10:03:28,184 [main] DEBUG
org.apache.commons.digester.Digester.sax - startDocument()
2006-06-13 10:03:28,215 [main] DEBUG
org.apache.commons.digester.Digester.sax -
notationDecl(WEB-JSPTAGLIB.1_2,-//Sun Microsystems, Inc.//DTD JSP Tag
Library 1.2//EN,null)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - startElement(,,taglib)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   Pushing body text ''
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   New match='taglib'
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib'.
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - ignorableWhitespace(
 )
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - startElement(,,tlib-version)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   Pushing body text ''
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   New
match='taglib/tlib-version'
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib/tlib-version'.
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - characters(1.0)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - endElement(,,tlib-version)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   match='taglib/tlib-version'
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   bodyText='1.0'
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib/tlib-version'.
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   Popping body text ''
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester.sax - ignorableWhitespace(
 )
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester.sax - startElement(,,jsp-version)
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   Pushing body text ''
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   New match='taglib/jsp-version'
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib/jsp-version'.
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester.sax - characters(1.2)
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester.sax - endElement(,,jsp-version)
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   match='taglib/jsp-version'
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   bodyText='1.2'
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib/jsp-version'.
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester -   Popping body text ''
2006-06-13 10:03:28,262 [main] DEBUG
org.apache.commons.digester.Digester.sax - ignorableWhitespace(
 )
...

it goes on like that for 10000's of line.

Any idea what happened ? What can I do to fix it ?

Thanks,
Gilles.
dnasmars@gmail.com - 13 Jun 2006 09:21 GMT
folamour a écrit :

> Hello,
> There is something wrong with my J2EE project sources (the production
[quoted text clipped - 7 lines]
> ...
> NFO: XML validation disabled
[COUPE]

> it goes on like that for 10000's of line.
>
> Any idea what happened ? What can I do to fix it ?
>
> Thanks,
> Gilles.

Hello Gilles,

I'm just trying to help by asking questions
that migth sound stupid but are worth beeing asked
Have you updated something (jar/java/eclipse plugin)?
Have you modified some configuration files ?
How come your XML validation is disabled ?
good luck to you
folamour - 13 Jun 2006 09:26 GMT
Believe me or not I updated nothing. I was tracking a bug, and all of a
sudden impossible to restart the application !!
so I  tried the following :
- get the version of the application from the CVS server (cancelling
all the changes I made from the latest version)
- uninstall and reinstall java and tomcat on my computer
- try on another computer

sadly, it is always the same problem. I feel like cursed about it.

I have no idea about the XML validation. How can I change it ?

Thanks for your help.
Gilles.

dnasm...@gmail.com a écrit :

> folamour a écrit :
>
[quoted text clipped - 26 lines]
> How come your XML validation is disabled ?
> good luck to you
dnasmars@gmail.com - 13 Jun 2006 09:43 GMT
folamour a écrit :

> Believe me or not I updated nothing. I was tracking a bug, and all of a
> sudden impossible to restart the application !!
[quoted text clipped - 43 lines]
> > How come your XML validation is disabled ?
> > good luck to you

could you send the first 20 lines ?
dnasmars@gmail.com - 13 Jun 2006 09:45 GMT
dnasm...@gmail.com a écrit :

> folamour a écrit :
>
[quoted text clipped - 47 lines]
>
> could you send the first 20 lines ?
could you send the first 20 lines of the debug output (I meant :)?
dnasmars@gmail.com - 13 Jun 2006 10:00 GMT
dnasmars@gmail.com a écrit :

> dnasm...@gmail.com a écrit :
>
[quoted text clipped - 50 lines]
> > could you send the first 20 lines ?
>  could you send the first 20 lines of the debug output (I meant :)?

You sent the output of DEBUG lines
there must be some other lines with WARNING/ERROR messages ?
could you send them ?
folamour - 13 Jun 2006 10:02 GMT
I don't think the first lines are very important because they are as
usuall, but here is the beginning of the output :

13 juin 2006 10:03:25 org.apache.catalina.core.AprLifecycleListener
lifecycleEvent
INFO: The Apache Tomcat Native library which allows optimal performance
in production environments was not found on the java.library.path:
C:\Program
Files\Java\jre1.5.0_07\bin;.;C:\WINNT\system32;C:\WINNT;C:\Program
Files\Business Objects\BusinessObjects Enterprise
6\bin\orb\asp\6.0\bin;C:\Program Files\Business Objects\BusinessObjects
Enterprise 6\bin\orb\bin;C:\Program Files\Business
Objects\BusinessObjects Enterprise
6\bin;C:\WINNT\system32;C:\WINNT;C:\WINNT\System32\Wbem;C:\PROGRA~1\CA\Common\SCANEN~1;C:\PROGRA~1\CA\eTrust\INOCUL~1;C:\Program
Files\Symantec\pcAnywhere\;C:\Program Files\Microsoft SQL
Server\80\Tools\BINN;C:\Program Files\Objecteering\bin;C:\Program
Files\Support Tools\
13 juin 2006 10:03:26 org.apache.coyote.http11.Http11BaseProtocol init
INFO: Initialisation de Coyote HTTP/1.1 sur http-8080
13 juin 2006 10:03:26 org.apache.catalina.startup.Catalina load
INFO: Initialization processed in 1063 ms
13 juin 2006 10:03:26 org.apache.catalina.core.StandardService start
INFO: Démarrage du service Catalina
13 juin 2006 10:03:26 org.apache.catalina.core.StandardEngine start
INFO: Starting Servlet Engine: Apache Tomcat/5.5.17
13 juin 2006 10:03:26 org.apache.catalina.core.StandardHost start
INFO: XML validation disabled
2006-06-13 10:03:27,575 [main] DEBUG
org.apache.catalina.core.ContainerBase.[Catalina].[localhost].[/sohan]
- Connecting to URL ldap://192.1.7.98:389
2006-06-13 10:03:27,746 [main] DEBUG
org.apache.commons.digester.Digester - addRuleSet() with no namespace
URI
2006-06-13 10:03:28,184 [main] DEBUG
org.apache.commons.digester.Digester.sax -
setDocumentLocator(org.apache.xerces.parsers.AbstractSAXParser$LocatorProxy@553763)
2006-06-13 10:03:28,184 [main] DEBUG
org.apache.commons.digester.Digester.sax - startDocument()
2006-06-13 10:03:28,215 [main] DEBUG
org.apache.commons.digester.Digester.sax -
notationDecl(WEB-JSPTAGLIB.1_2,-//Sun Microsystems, Inc.//DTD JSP Tag
Library 1.2//EN,null)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - startElement(,,taglib)
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   Pushing body text ''
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   New match='taglib'
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester -   No rules found matching
'taglib'.
2006-06-13 10:03:28,246 [main] DEBUG
org.apache.commons.digester.Digester.sax - ignorableWhitespace(
 )
...

Thanks.

dnasm...@gmail.com a écrit :

> dnasmars@gmail.com a écrit :
>
[quoted text clipped - 56 lines]
> there must be some other lines with WARNING/ERROR messages ?
> could you send them ?
dnasmars@gmail.com - 13 Jun 2006 10:28 GMT
folamour a écrit :

> I don't think the first lines are very important because they are as
> usuall, but here is the beginning of the output :
[quoted text clipped - 116 lines]
> > there must be some other lines with WARNING/ERROR messages ?
> > could you send them ?

true it seems like we cann't get any info from the first 20 lines
do you have lines with WARNING or ERROR and if yes could you send them ?
folamour - 13 Jun 2006 10:32 GMT
unfortunately no...
it just start flooding with these  parsing errors :((

I'm really in big trouble because I have no idea what happened and how
to fix it.
Maybe it's just one little wrong character in a file or a corrupt
config file ?
I hoped someone already had the same problem around here.

dnasm...@gmail.com a écrit :

> folamour a écrit :
>
[quoted text clipped - 121 lines]
> true it seems like we cann't get any info from the first 20 lines
> do you have lines with WARNING or ERROR and if yes could you send them ?
dnasmars@gmail.com - 13 Jun 2006 10:49 GMT
folamour a écrit :

> unfortunately no...
> it just start flooding with these  parsing errors :((
[quoted text clipped - 132 lines]
> > true it seems like we cann't get any info from the first 20 lines
> > do you have lines with WARNING or ERROR and if yes could you send them ?

in the home directory of tomcat
you must have a log directory where you migth find
files named catalina_log, localhost_log, localhost_admin_log.
Do you have more information in these files ?
folamour - 13 Jun 2006 11:00 GMT
this directory is empty...

> in the home directory of tomcat
> you must have a log directory where you migth find
> files named catalina_log, localhost_log, localhost_admin_log.
> Do you have more information in these files ?
dnasmars@gmail.com - 13 Jun 2006 11:24 GMT
folamour a écrit :

> this directory is empty...
>
> > in the home directory of tomcat
> > you must have a log directory where you migth find
> > files named catalina_log, localhost_log, localhost_admin_log.
> > Do you have more information in these files ?

try and switch the logs on.
A way to do this is to find in the conf repository a file named
server.xml.
First do a backup of this file then add
<Logger className="org.apache.catalina.logger.FileLogger" debug="0"
directory="logs" prefix="localhost_log." suffix=".txt" timestamp="true"
verbosity="1"/>
in the node Host
and
<Logger className="org.apache.catalina.logger.FileLogger" debug="0"
directory="logs" prefix="catalina_log." suffix=".txt" timestamp="true"
verbosity="1"/>
in the node Engine

and see if you have more information :)
folamour - 13 Jun 2006 12:51 GMT
I enabled the logger.... but it only generate an empty logfile in the
logs directory :(((

dnasmars@gmail.com a écrit :

> folamour a écrit :
>
[quoted text clipped - 20 lines]
>
> and see if you have more information :)
Oliver Wong - 13 Jun 2006 20:09 GMT
> Hello,
> There is something wrong with my J2EE project sources (the production
> server is fine).

   Did you try rolling back via CVS to your code a month ago, and seeing if
that still works? If it does work, do a binary search until you can isolate
exactly when the problems started. If it doesn't work, then it sounds like
you're in serious trouble...

   - Oliver
Patricia Shanahan - 14 Jun 2006 01:07 GMT
>> Hello,
>> There is something wrong with my J2EE project sources (the production
[quoted text clipped - 6 lines]
>
>    - Oliver

As a variant of this approach, start with a clean machine. Install Java,
libraries, utilities etc. to match the production server. Construct a
clean test database from scratch. The checkout the production version of
your software.

In doing all this, try to avoid copying anything from your current test
machine, because it is presumed be corrupt in some unknown way.

Patricia
dnasmars@gmail.com - 14 Jun 2006 10:10 GMT
folamour a écrit :

> Hello,
> There is something wrong with my J2EE project sources (the production
[quoted text clipped - 93 lines]
> Thanks,
> Gilles.

It seems that these first lines are from a sax parser
what has to be found is what is it trying to parse
and why can't it parse the document

DNass


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.