* [gentoo-user] java issues
@ 2005-09-27 20:19 Covington, Chris
2005-09-27 20:26 ` Dave Nebinger
` (2 more replies)
0 siblings, 3 replies; 5+ messages in thread
From: Covington, Chris @ 2005-09-27 20:19 UTC (permalink / raw
To: gentoo-user
This is a multipost, sorry for those on gentoo-server.
One of my machines seems to be having misc problems with Java. It's
running tomcat, apache2 & dev-java/sun-jdk-1.4.2.09. When I try to
emerge struts or hsqldb (which are dependencies of ~x86 Tomcat) I get
the following errors:
For hsqldb:
videodrome ccovington # emerge -vDu world Calculating world dependencies
...done!
>>> emerge (1 of 6) dev-db/hsqldb-1.7.3.1-r1 to /
>>> md5 files ;-) hsqldb-1.7.3.1-r1.ebuild
>>> md5 files ;-) files/server.properties
>>> md5 files ;-) files/hsqldb
>>> md5 files ;-) files/sqltool.rc
>>> md5 files ;-) files/digest-hsqldb-1.7.3.1-r1
>>> md5 src_uri ;-) hsqldb_1_7_3_1.zip
>>> Unpacking source...
>>> Unpacking hsqldb_1_7_3_1.zip to
>>> /var/tmp/portage/hsqldb-1.7.3.1-r1/work
!!! ERROR: dev-db/hsqldb-1.7.3.1-r1 failed.
!!! Function java-pkg_jar-from, Line 281, Exitcode 0 !!! Installation
problems with jars in servletapi-2.3 - is it installed?
!!! If you need support, post the topmost build error, NOT this status
message.
I've tried re-emerging servletapi and java to no avail.
Also when I emerge struts (either dev-java/struts-1.2.4-r2 or
dev-java/struts-1.1-r4) I get the following:
[javac] Compiling 269 source files to
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/target/li
brary/classes
[javac]
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
/org/apache/struts/action/Action.java:25: package javax.servlet does not
exist
[javac] import javax.servlet.ServletContext;
[javac] ^
[javac]
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
/org/apache/struts/action/Action.java:26: package javax.servlet does not
exist
[javac] import javax.servlet.ServletRequest;
[javac] ^
[javac]
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
/org/apache/struts/action/Action.java:27: package javax.servlet does not
exist
[javac] import javax.servlet.ServletResponse;
[javac] ^
[javac]
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
/org/apache/struts/action/Action.java:28: package javax.servlet.http
does not exist ...
BUILD FAILED
/var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/build.xml
:308: Compile failed; see the compiler error output for details.
Total time: 7 seconds
!!! ERROR: dev-java/struts-1.2.4-r2 failed.
!!! Function src_compile, Line 49, Exitcode 1 !!! compile failed
Does anyone have any suggestions?
thanks
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* RE: [gentoo-user] java issues
2005-09-27 20:19 [gentoo-user] java issues Covington, Chris
@ 2005-09-27 20:26 ` Dave Nebinger
2005-09-27 20:58 ` Petteri Räty
2005-09-27 21:00 ` Yoandy Rodriguez Martinez
2 siblings, 0 replies; 5+ messages in thread
From: Dave Nebinger @ 2005-09-27 20:26 UTC (permalink / raw
To: gentoo-user
> /var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/src/share
> /org/apache/struts/action/Action.java:27: package javax.servlet does not
> exist
> [javac] import javax.servlet.ServletResponse;
>
> Does anyone have any suggestions?
Update your classpath before trying the emerge?
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] java issues
2005-09-27 20:19 [gentoo-user] java issues Covington, Chris
2005-09-27 20:26 ` Dave Nebinger
@ 2005-09-27 20:58 ` Petteri Räty
2005-09-27 21:00 ` Yoandy Rodriguez Martinez
2 siblings, 0 replies; 5+ messages in thread
From: Petteri Räty @ 2005-09-27 20:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 279 bytes --]
Covington, Chris wrote:
>
> Does anyone have any suggestions?
>
Check the bugzilla if there is already something there. It is a bit
strange that I haven't seen these problems as I have done a couple of
Tomcat installs from stratch lately.
Regards,
Petteri Räty
[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 256 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] java issues
2005-09-27 20:19 [gentoo-user] java issues Covington, Chris
2005-09-27 20:26 ` Dave Nebinger
2005-09-27 20:58 ` Petteri Räty
@ 2005-09-27 21:00 ` Yoandy Rodriguez Martinez
2 siblings, 0 replies; 5+ messages in thread
From: Yoandy Rodriguez Martinez @ 2005-09-27 21:00 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 610 bytes --]
> !!! Function java-pkg_jar-from, Line 281, Exitcode 0 !!! Installation
> problems with jars in servletapi-2.3 - is it installed?
It is asking for servletapi-2.3 if you're using 2.4 try a downgrade...
> [javac] Compiling 269 source files to
> /var/tmp/portage/struts-1.2.4-r2/work/jakarta-struts-1.2.4-src/target/li
> brary/classes
> [javac]
The java compiler seems to be unable to find your servletapi, maybe is a
problem in your classpath... btw if you're using jikes there s a bug[1]
filed about it.
[1]http://bugs.gentoo.org/show_bug.cgi?id=89711
--
live free() or die()
Jadex
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: [gentoo-user] java issues
@ 2005-09-27 21:25 Covington, Chris
0 siblings, 0 replies; 5+ messages in thread
From: Covington, Chris @ 2005-09-27 21:25 UTC (permalink / raw
To: gentoo-user
> Update your classpath before trying the emerge?
I updated my classpath and re-emerged =dev-java/servletapi-2.3-r2 and
all is OK. Thanks for the help guys.
---
Chris Covington
IT
Plus One Health Management
75 Maiden Lane Suite 801
NY, NY 10038
646-312-6269
http://www.plusoneactive.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2005-09-27 21:29 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-27 20:19 [gentoo-user] java issues Covington, Chris
2005-09-27 20:26 ` Dave Nebinger
2005-09-27 20:58 ` Petteri Räty
2005-09-27 21:00 ` Yoandy Rodriguez Martinez
-- strict thread matches above, loose matches on Subject: below --
2005-09-27 21:25 Covington, Chris
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox