Eclipse stops debugging with no errors [message #132441] |
Thu, 08 January 2004 12:30  |
Eclipse User |
|
|
|
Originally posted by: ra0239.email.sps.mot.com
I have an servlet application I built using Eclipse and the Tomcat Plugin
that reads from a file system and writes to an Oracle database. I needed
to add the ability to extract from the database and generate some XML
strings.
Using the Java web service development package (jwsdp 1.3, JAXB section) I
created the required class files by running a schema document through the
jwsdp-JAXB tool. I uploaded the package into an Eclipse Project and
pointed to the jwsdp jar files and successfully generated an example xml.
The problem occurs when I try to extend my "Eclipse/Tomcat/Oracle Project"
to use the "Eclipse jwsdp xml generator Project" as a project reference or
as a jar file that I created using Eclipse. The revised
"Eclipse/Tomcat/Oracle Project" will compile fine referncing the new
classes but as soom as I try to use one of the class files in the "Eclipse
jwsdp xml generator Project" or as a jar file, the debug just stops, and I
don't get any errors or see any output in the Eclipse console. It just
STOPS!
My current environment:
Eclipse Version: 2.1.1 Build id: 200306271545
Tomcat Plugin 2.1.1
Windows 2K
|
|
|
|
|
|
Re: Eclipse stops debugging with no errors [message #133593 is a reply to message #133041] |
Mon, 12 January 2004 11:42  |
Eclipse User |
|
|
|
I suggest checking with the Sysdeo team. Since you are using the Sysdeo
launching support, we cannot claim responsibility for the problem.
Darin
"Stephen Chelstrom" <ra0239@email.sps.mot.com> wrote in message
news:btn5rk$k1q$1@eclipse.org...
> Stephen Chelstrom wrote:
>
> More Details: I created a JAXB package with the Java Web Server
> Development Toolkit (jwsdp 1.3) that uses xercesImpl.jar (v2.3.0). This
> package was created automatically when I ran the ant build and pass it a
> schema document. I imported this package into Eclipse and wrote a small
> main file that prints out an example xml file to the console. This worked
> and I wanted to use the JAXB package with my Oracle Project but whensever
> I read in a file which uses a class from the JAXB package it STOPS
> Debugging with no errors.
>
> Could the problem be related to the Xerces XML Parser Plugin used in
> Eclipse and the xercesImpl.jar (v2.3.0) I am using to build the JAXB
> package?
>
> I am now trying to build the JAXB package in Eclipse and I get the
> following error:
>
> Buildfile: C:\Program
> Files\JavaSoft\eclipse\workspace\semiJaxb\WEB-INF\src\semiG8 x\build.xml
>
> compile:
> [echo] Compiling the schema...
> [xjc] Compiling file:/C:/Program
> Files/JavaSoft/eclipse/workspace/semiJaxb/WEB-INF/src/semiG8 x/G81.xsd
> [xjc] [WARNING] Unable to validate your schema. Most likely, the
> JVM has loaded an incompatible XML parser implementation. You should fix
> this before relying on the generated code. Please see the release notes
> for details.
> [xjc] unknown location
> [xjc]
> [xjc] BUILD FAILED: file:C:/Program
>
Files/JavaSoft/eclipse/workspace/semiJaxb/WEB-INF/src/semiG8 x/build.xml:32:
> unable to parse the schema. Error messages should have been provided
> Total time: 1 second
>
>
> Stephen Chelstrom wrote:
>
> > Steve Chelstrom wrote:
>
> > I am using the Tomcat Plugin from sysdeo and I launch the application by
> > starting Tomcat from the Tomcat pulldown menu in Eclipse and then I go
to
> > the web page for the servlet and select a menu item from the web page
> > which starts the servlet running. The servlet will start two timers.
The
> > first timer will read a file and then write to the database and the
second
> > timer will generate an XML output to the console using the jwsdp-JAXB
> > generated classes.
>
> > The timers work fine and I only see the problem when I add the calls to
> > the second timer which create the xml example via accessing the jar file
I
> > created using the jwsdp-JAXB libraries.
>
> > The crazy part is that I can compile and run the xml example in a
> > standalone eclipse project. I can also compile and run the file reader
and
> > oracle upload project in a standalone eclipse project but whenever I try
> > to combine them, as soon as it hits a file with reference to the
> > jwsdp-JAXB classes it stops. I have checked the log files on Tomcat and
> > not seen any problems. The servlet doesn't terminate it just stops.
>
> > Steve
>
> > Darin Wright wrote:
>
> > > Is there anything in you ".log" file? From your description is in
unclear
> > > how you launch your app.
>
> > > Darin
>
> > > "Stephen Chelstrom" <ra0239@email.sps.mot.com> wrote in message
> > > news:btk43v$3cq$1@eclipse.org...
> > > > I have an servlet application I built using Eclipse and the Tomcat
Plugin
> > > > that reads from a file system and writes to an Oracle database. I
needed
> > > > to add the ability to extract from the database and generate some
XML
> > > > strings.
> > > >
> > > > Using the Java web service development package (jwsdp 1.3, JAXB
section)
> I
> > > > created the required class files by running a schema document
through the
> > > > jwsdp-JAXB tool. I uploaded the package into an Eclipse Project and
> > > > pointed to the jwsdp jar files and successfully generated an example
xml.
> > > >
> > > > The problem occurs when I try to extend my "Eclipse/Tomcat/Oracle
> Project"
> > > > to use the "Eclipse jwsdp xml generator Project" as a project
reference
> or
> > > > as a jar file that I created using Eclipse. The revised
> > > > "Eclipse/Tomcat/Oracle Project" will compile fine referncing the new
> > > > classes but as soom as I try to use one of the class files in the
> "Eclipse
> > > > jwsdp xml generator Project" or as a jar file, the debug just stops,
and
> I
> > > > don't get any errors or see any output in the Eclipse console. It
just
> > > > STOPS!
> > > >
> > > > My current environment:
> > > > Eclipse Version: 2.1.1 Build id: 200306271545
> > > > Tomcat Plugin 2.1.1
> > > > Windows 2K
> > > >
> > > >
> > > >
>
>
|
|
|
Powered by
FUDForum. Page generated in 0.04008 seconds