Re: [swamp-devel] "Error starting modern compiler"

2006-05-26 Thread David K. Patrick
I am running the final version of SuSE 10.1. I will try what you 
suggest. Thanks!


Daniel Bornkessel wrote:

On Friday 26 May 2006 01:11, David Patrick wrote:

Environment: SuSE 10.1 and I installed using RPMs. This is the first time
I've invoked webswamp (localhost:8080/webswamp) so Tomcat is trying to
compile the .java files. In the log file I get the following message which
eventually causes the "modern compiler" message:
-
java.lang.ClassNotFoundException:
org.eclipse.jdt.internal.compiler.batch.Main not found in
gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/
lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/
usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/
mx4j/mx4j-tools-1.1.1.jar,file:/usr/share/java/mx4j/mx4j-jmx-1.1.1.jar,file
:/usr/share/java/mx4j/mx4j-actions-1.1.1.jar,file:/usr/share/java/m
x4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[],
parent=null}} --

I believe the missing class is in the org.eclipse.jdt.core_3.1.1.jar
archive but I don't know what I need to do to make that .jar visible to
jasper at runtime.

Alternatively, what must I run to compile all the .java files in the
background before trying the application?


Hi.
Is this a final 10.1 or a beta/RC version?
This was a known bug which was resolved quite late and occured when using gcj 
java.
For tomcat5 I suggest you install a SUN SDK, as our current JDK (gcj OSS Java) 
is not running smoothlessly on 10.1.

The repository for SUN Java for 10.1 is:
http://download.opensuse.org/distribution/SL-10.1/non-oss-inst-source/
Be sure to set SUN Java afterwards as your default Java, see:

http://en.opensuse.org/Java#Switching_between_two_different_Java_JREs_or_SDKs

Regards,
Daniel





---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net




--

David Patrick
Phone: 408-867-3281
Fax: 408-741-5082


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 


Re: [swamp-devel] "Error starting modern compiler"

2006-05-26 Thread Thomas Schmidt
David Patrick schrieb:
> Environment: SuSE 10.1 and I installed using RPMs. This is the first time 
> I've invoked webswamp (localhost:8080/webswamp) so Tomcat is trying to 
> compile the .java files. In the log file I get the following message which 
> eventually causes the "modern compiler" message:
> -
> java.lang.ClassNotFoundException: 
> org.eclipse.jdt.internal.compiler.batch.Main not found in 
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/
> lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/
> mx4j/mx4j-tools-1.1.1.jar,file:/usr/share/java/mx4j/mx4j-jmx-1.1.1.jar,file:/usr/share/java/mx4j/mx4j-actions-1.1.1.jar,file:/usr/share/java/m
> x4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[], 
> parent=null}}
> --
> 
> I believe the missing class is in the org.eclipse.jdt.core_3.1.1.jar archive 
> but I don't know what I need to do to make that .jar visible to jasper at 
> runtime.
> 
> Alternatively, what must I run to compile all the .java files in the 
> background before trying the application?

Hi, seems to be a bug as Daniel said, but to work around it you could
try to got directly to /webswamp/swamp as this .jsp page just makes a
redirect.
Greetings

-- 
Thomas Schmidt (tschmidt [at] suse.de)
SUSE Linux Products GmbH :: Research & Development :: Internal Tools
"Computers are useless. They can only give you answers.", Pablo Picasso


---
All the advantages of Linux Managed Hosting--Without the Cost and Risk!
Fully trained technicians. The highest number of Red Hat certifications in
the hosting industry. Fanatical Support. Click to learn more
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
___
swamp-devel mailing list
swamp-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/swamp-devel
http://swamp.sf.net 


Re: [swamp-devel] "Error starting modern compiler"

2006-05-26 Thread Daniel Bornkessel
On Friday 26 May 2006 01:11, David Patrick wrote:
> Environment: SuSE 10.1 and I installed using RPMs. This is the first time
> I've invoked webswamp (localhost:8080/webswamp) so Tomcat is trying to
> compile the .java files. In the log file I get the following message which
> eventually causes the "modern compiler" message:
> -
> java.lang.ClassNotFoundException:
> org.eclipse.jdt.internal.compiler.batch.Main not found in
> gnu.gcj.runtime.SystemClassLoader{urls=[file:/usr/
> lib/jvm/java/lib/tools.jar,file:/usr/share/tomcat5/bin/bootstrap.jar,file:/
>usr/share/tomcat5/bin/commons-logging-api.jar,file:/usr/share/java/
> mx4j/mx4j-tools-1.1.1.jar,file:/usr/share/java/mx4j/mx4j-jmx-1.1.1.jar,file
>:/usr/share/java/mx4j/mx4j-actions-1.1.1.jar,file:/usr/share/java/m
> x4j/mx4j-jmx.jar], parent=gnu.gcj.runtime.ExtensionClassLoader{urls=[],
> parent=null}} --
>
> I believe the missing class is in the org.eclipse.jdt.core_3.1.1.jar
> archive but I don't know what I need to do to make that .jar visible to
> jasper at runtime.
>
> Alternatively, what must I run to compile all the .java files in the
> background before trying the application?
>
Hi.
Is this a final 10.1 or a beta/RC version?
This was a known bug which was resolved quite late and occured when using gcj 
java.
For tomcat5 I suggest you install a SUN SDK, as our current JDK (gcj OSS Java) 
is not running smoothlessly on 10.1.
The repository for SUN Java for 10.1 is:
http://download.opensuse.org/distribution/SL-10.1/non-oss-inst-source/
Be sure to set SUN Java afterwards as your default Java, see:

http://en.opensuse.org/Java#Switching_between_two_different_Java_JREs_or_SDKs

Regards,
Daniel

>
>
>
>
> ---
> All the advantages of Linux Managed Hosting--Without the Cost and Risk!
> Fully trained technicians. The highest number of Red Hat certifications in
> the hosting industry. Fanatical Support. Click to learn more
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642
> ___
> swamp-devel mailing list
> swamp-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/swamp-devel
> http://swamp.sf.net

-- 
Daniel Bornkessel  Tel: +49 911 740 53 161
Novell :: SUSE R&D :: Internal Tools / Java Packaging
__
:wq


pgp7QSd7l3uEx.pgp
Description: PGP signature