Eclipse + CVS issues
by Andrew Overholt
Hi,
We have two issues with CVS that I'd like to sort out and hopefully get
fixes into our gcc RPMs before their FC4 update.
1. checkouts of large-ish projects (GNU Classpath is something I've used as
a test case) get "stuck" at about 83% finished. This is about the best
information I have at this point, but tests with combinations of stock
FC4 gcc (4.0.0-8, I believe) and stock FC4 Eclipse (3.1.0.M6.22 or
something like that) or rawhide gcc (4.0.1-x) and rawhide Eclipse
(3.1.0_fc-2) would be greatly appreciated. If we can narrow down when
this problem occurred, it would help in finding its cause. I don't
remember this happening with what we had around FC4 release time. Also,
does CVS compression level affect this?
2. switching to the team synchronization perspective throws an error [1].
There's a similar bug [2], but I'm not sure if they're the same thing.
I'm not sure if these are related to problem 1. above.
If we can get some back traces and maybe some gdbing going on, hopefully we
can track these bugs down.
This is how I usually debug this kind of thing: install eclipse-debuginfo
and gcc-debuginfo. Once I've got Eclipse in the state that I want it, I
attach to that process with gdb (ps aux | grep java .. get the process #
... gdb /usr/bin/java <process id from above>). There are usually around
15 threads and I think the CVS one is usually # 5. You can see thread
information with the gdb command 'info threads'. Switching between threads
is easy ('thread x') and you can get back traces for any of them with 'bt'
(note that I'm just putting the quotes around the gdb commands but they're
not necessary). You can steph through things with 's' and continue with
'c'. I read this page [3] once and it helped with signal ignoring. I'm
not sure if it's necessary, but I've got this in my .gdbinit to deal with
it:
handle SIGPWR nostop noprint
handle SIGXCPU nostop noprint
It'll be great when we get full JDWP support in GNU Classpath and gcc so
that debugging these library issues (I've already determined that this
isn't a native compilation issue) will be easier.
Thanks,
Andrew
[1]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=163079
[2]
https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=161518
[3]
http://gcc.gnu.org/java/gdb.html
18 years, 9 months
.jar and .so both loaded?
by Peter Backlund
Hello.
I have a couple of questions about class loading in natively compiled
Java applications: should an application that has been natively compiled
(i.e. all .jars compiled into .so by gcj and a .db created, according to
http://gcc.gnu.org/wiki/How%20to%20BC%20compile%20with%20GCJ) load both
the .jars and the .so into memory? lsof seems to think that is the
case.
Also, Eclipse in Rawhide consumes almost twice as much memory for
starting up and opening HelloWorld.java as the Sun JVM 1.5.0_03/upstream
Eclipse combination.
Is it still possible to build a Java application into a standalone
executable, that does not require gij to run? Is there any guilde on how
to do that?
/Peter Backlund
18 years, 9 months
Windows XP - wholesale price
by Vanessa J. Smith
Get all the software you ever imagined for less!
We sell software 2-6 times cheaper than retail price.
A few examples:
$79.95 Windows XP Professional (Including: Service Pack 2)
$89.95 Microsoft Office 2003 Professional / $79.95 Office XP Professional
$99.95 Adobe Photoshop 8.0/CS (Including: ImageReady CS)
$179.95 Macromedia Studio MX 2004 (Including: Dreamweaver MX + Flash MX
+ Fireworks MX)
$79.95 Adobe Acrobat 6.0 Professional
$69.95 Quark Xpress 6 Passport Multilanguage
Special Offers:
$89.95 Windows XP Professional + Office XP Professional
$149.95 Adobe Creative Suite Premium (5 CD)
$129.95 Adobe Photoshop 7 + Adobe Premiere 7 + Adobe Illustrator 10
All main products from Microsoft, Adobe, Macromedia, Corel, etc.
And many other... Enter here:
http://www.oemtotal.com
Best regards,
Vanessa Smith
_____________________________________________________
To be taken out, go here
_____________________________________________________
18 years, 9 months
Jonas vs JTA
by Bryce McKinlay
java-1.4.2-gcj-compat provides a jta.jar which is linked against
libgcj's libgcj.jar.
It seems that libgcj is wrong to include JTA in the core class
libraries. Previous J2SE versions may have included all of
javax.transaction, but the current specs for 1.4.2 and 1.5 show that the
J2SE now only includes a few exceptions, which are required by CORBA.
Further, this creates difficulties testing FC's Jonas with other
jpackaged JVMs because they require a separate jta.jar.
I propose:
1. Removing JTA from libgcj/classpath (leaving just the 3 exceptions in
javax.transaction which are provided by the J2SE)
2. Remove the jta.jar link from java-gcj-compat
3. Include a separate jta package in Fedora that contains jta.jar
Anyone have concerns/problems with this?
Bryce
18 years, 9 months
FC4: Howto change tge JDK
by C.F. Scheidecker Antunes
Hello all,
Before FC4 I used to install SUN's or IBM's JDK and have a syslink under
/usr/bin for java and javac. Not only that but I had them installed
under /opt and then have the /etc/profile changed to have all from
/opt/java/bin on the PATH.
Now, they have done a whole total different deal with FC4. The jdk is
configured such that there are even links under /etc/
What would be advisable in order to have a different JDK under FC4? I
would like to get ride of the one that came with it.
Thanks in advance,
C.F.
18 years, 9 months
未承諾広告※☆ゆび☆ゆびマガジンが在宅ワーカー募集してます☆
by gss_info236@yahoo.co.jp
このメールは下記事業者・送信者が送信しております。
------------------------------------------------------------
<事業者><送信者>(株)G.S.S.inc.
住所:東京都目黒区中央1-18-13
TEL 03-6425-2182 (木村)
MAIL gss_info17(a)yahoo.co.jp
------------------------------------------------------------
特定商取引法施行規則 受け取りを希望しない場合の連絡方法
関係のない方に届きました場合お詫び申し上げます。今後一切の配信を
拒否する場合はお手数ですが、下記URLのクリックしてください。
http://www.qmsys.net/stop.php?id=2&sid=ded148b83f7895d21bcbae66077517a2
上記URLのクリック処理でエラーが起こった場合は、お手数ですが、
下記のアドレスに「受信拒否」の件名で送信してください。
stop2(a)qmsys.net
------------------------------------------------------------
☆ゆび☆ゆびマガジンが在宅ワーカー募集してます ☆
┏━━━━━━━━━━━━━━━━━━━━┓
◇◆◇ ◇◆◇
このゆびとまれマガジンニュース
◇◆◇ <2005/7月発行> ◇◆◇
┗━━━━━━━━━━━━━━━━━━━━┛
【↓今月のイチオシ情報/在宅ビジネス】━━━ 1,935,654部発行━━━☆
★SOHO現役主婦グループ・SOHO海援隊・が厳しい審査のもと
安心・信頼できる在宅業務をご紹介します。
┝業務がたくさんあります! →必ず稼げる在宅ワークの募集です。
一日2時間で月5万〜
┝業務サポートが完備してます!→未経験者・初心者の方でも安心です。
┝業務提供保証があります! →継続して業務が提供されます。
★速報!スキルチェックなしのデータ入力の仕事が即!大量にあります!!★
◇まずは資料請求・お問い合わせを!◇
┗━━━━━━━━━━→ http://www.soho-kaientai.jp
■■■《在宅業務募集》■■■
☆在宅業務お探しの方に朗報!! ☆
「1日2〜3時間程度しかない」→それでも月収5万前後にはなります!
「文字入力程度しか出来ない…」→実務研修制度とサポートがあるから
安心です!
「本当に仕事は継続してあるの?」→300社以上の大手企業から安定供給
を受けてます。
現在、主婦・会社員・年配者・学生・フリーター等が全国で680名活躍しています。
業務はどなたでも出来るデーター入力・文書入力などまったくのパソコン未経験者
でもマニュアルに沿った基本操作さえ覚えれば大丈夫です!
◆∞∞∞興味のある方は下記から資料請求(無料)ください∞∞∞◆
◇ http://www.soho-kaientai.jp/ ◇
長期的に堅実に安定収入を得たいとお考えであれば、
私共が責任を持って万全のサポート体制で支援致します。
∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞
※このたびご応募いただいた方の中から、抽選でもれなくクオカード5,000円
分やお米コシヒカリ5キロ(10,000円相当)が当たります。お楽しみに!!
-----------------------------------------------------------------
※資料請求手順
-----------------------------------------------------------------
1. 『http://www.soho-kaientai.jp』へアクセスする。
2. 『トップ画面』→『資料請求』
3. フォームにしたがって必要事項を入力する。
4. メールアドレスはお間違えのないように入力してください。
5. 必要事項をすべて入力し、『送信』をクリック。
---------------------------------------------------------------------
未経験者歓迎!完全保証のSOHOワーカー募集ニュースです!
掲載内容についての詳細、サービス内容については、(株)GSS inc.
ではお答えすることができません。メール中でご案内している各団体・
企業等のお問い合わせ窓口をご確認ください。
18 years, 9 months
未承諾広告※☆ゆび☆ゆびマガジンが在宅ワーカー募集してます☆
by gss_info236@yahoo.co.jp
このメールは下記事業者・送信者が送信しております。
------------------------------------------------------------
<事業者><送信者>(株)G.S.S.inc.
住所:東京都目黒区中央1-18-13
TEL 03-6425-2182 (木村)
MAIL gss_info17(a)yahoo.co.jp
------------------------------------------------------------
特定商取引法施行規則 受け取りを希望しない場合の連絡方法
関係のない方に届きました場合お詫び申し上げます。今後一切の配信を
拒否する場合はお手数ですが、下記URLのクリックしてください。
http://www.qmsys.net/stop.php?id=2&sid=ded148b83f7895d21bcbae66077517a2
上記URLのクリック処理でエラーが起こった場合は、お手数ですが、
下記のアドレスに「受信拒否」の件名で送信してください。
stop2(a)qmsys.net
------------------------------------------------------------
☆ゆび☆ゆびマガジンが在宅ワーカー募集してます ☆
┏━━━━━━━━━━━━━━━━━━━━┓
◇◆◇ ◇◆◇
このゆびとまれマガジンニュース
◇◆◇ <2005/7月発行> ◇◆◇
┗━━━━━━━━━━━━━━━━━━━━┛
【↓今月のイチオシ情報/在宅ビジネス】━━━ 1,935,654部発行━━━☆
★SOHO現役主婦グループ・SOHO海援隊・が厳しい審査のもと
安心・信頼できる在宅業務をご紹介します。
┝業務がたくさんあります! →必ず稼げる在宅ワークの募集です。
一日2時間で月5万〜
┝業務サポートが完備してます!→未経験者・初心者の方でも安心です。
┝業務提供保証があります! →継続して業務が提供されます。
★速報!スキルチェックなしのデータ入力の仕事が即!大量にあります!!★
◇まずは資料請求・お問い合わせを!◇
┗━━━━━━━━━━→ http://www.soho-kaientai.jp
■■■《在宅業務募集》■■■
☆在宅業務お探しの方に朗報!! ☆
「1日2〜3時間程度しかない」→それでも月収5万前後にはなります!
「文字入力程度しか出来ない…」→実務研修制度とサポートがあるから
安心です!
「本当に仕事は継続してあるの?」→300社以上の大手企業から安定供給
を受けてます。
現在、主婦・会社員・年配者・学生・フリーター等が全国で680名活躍しています。
業務はどなたでも出来るデーター入力・文書入力などまったくのパソコン未経験者
でもマニュアルに沿った基本操作さえ覚えれば大丈夫です!
◆∞∞∞興味のある方は下記から資料請求(無料)ください∞∞∞◆
◇ http://www.soho-kaientai.jp/ ◇
長期的に堅実に安定収入を得たいとお考えであれば、
私共が責任を持って万全のサポート体制で支援致します。
∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞∞
※このたびご応募いただいた方の中から、抽選でもれなくクオカード5,000円
分やお米コシヒカリ5キロ(10,000円相当)が当たります。お楽しみに!!
-----------------------------------------------------------------
※資料請求手順
-----------------------------------------------------------------
1. 『http://www.soho-kaientai.jp』へアクセスする。
2. 『トップ画面』→『資料請求』
3. フォームにしたがって必要事項を入力する。
4. メールアドレスはお間違えのないように入力してください。
5. 必要事項をすべて入力し、『送信』をクリック。
---------------------------------------------------------------------
未経験者歓迎!完全保証のSOHOワーカー募集ニュースです!
掲載内容についての詳細、サービス内容については、(株)GSS inc.
ではお答えすることができません。メール中でご案内している各団体・
企業等のお問い合わせ窓口をご確認ください。
18 years, 9 months
激安ソフトウェア販売 Gekiyasu No.1
by Gekiyasu No.1
=============== Gekiyasu No.1 =========================
ご利用者5000人突破記念キャンペーン実施中!
当店では、即日対応を心がけております。
お支払先は、銀行振込となります。
お支払方法は、動作確認後の後払いとなります。
商品が届いてから動作確認をしていただき、動作確認が
できた商品のみのお支払となります。
=============== 御優待キャンペーン ====================
5,000円以下の商品を4点で、10,000円となります。
5,000円以下の商品を6点で、15,000円となります。
20,000円以上、お買い上げの場合、
10,000円以下の商品を1点サービス致します。
キャンペーン期間中は、送料無料です。
=============== 新着情報 ==============================
Windows版、Macintosh版、新商品多数入荷致しました。
詳しくは、ホームページまたは、商品リストをご覧ください。
=============== ホームページのご案内 ==================
ホームページは以下のURLからご覧いただけます。
※商品のご注文、お問い合わせは以下のURLからお願い致します。
http://gekiyasu-no1.com
※ホームページが見れない場合があります。
見れない場合は、以下のメールアドレスへご連絡ください。
mail_gekiichi(a)horse.livedoor.com
=============== 商品リストのご案内 ====================
商品リストをご希望のお客様は、以下のメールアドレスへご連絡ください。
mail_gekiichi(a)horse.livedoor.com
=============== その他のご案内 ========================
お探しの商品等がありましたら、以下のアドレスへご連絡ください。
mail_gekiichi(a)horse.livedoor.com
以下のメールアドレスからでも、ご注文できます。
ご注文の際は、ご注文の商品 OS 数量、お名前、お届け先、連絡先を
ご記入の上、以下のアドレスへご注文ください。
mail_gekiichi(a)horse.livedoor.com
=======================================================
ご検討の上、ご注文お待ちしております。
以上
=======================================================
18 years, 9 months
FC4 Tomcat & Jakarta Hell
by C.F. Scheidecker Antunes
Hello All,
FC4 comes with Tomcat5 and Jakarta stuff such as struts, commons, etc.
However FC4 does not come with a SUN JVM and I usually install my own in
place of the currently one. I also install my own Tomcat and Jakarta
stuff so that I can have the latest. I've also noticed that there is a
service created to run Tomcat5 as well. Tomcat5 runs with a user tomcat
which seems great as it not acceptable to run it as root.
However it is an older version, it is organized spreaded into separate
and various rpm packages which is not productive as well as not
scalable. Struts is even version 1.1.
Hence what I need is to install my own stuff. What do you recommend
regarding this issue?
Shall I remove the entire FC4 stuff or keep it and install my
Tomcat/Jakarta/Struts/JVM and then change the service to reflect on my
installation?
In this case I assume I will have to change the privileges of the tomcat
user and group and also make my root directory and its subdirectories
reflect those privileges.
Any suggestions or docs on Tomcat for FC4?
Does anyone use Tomcat/struts/Commons with FC4?
Thanks in advance,
C.F.
18 years, 9 months
aot-compile-rpm
by Gary Benson
Over the past couple of days I've been writing a replacement for
aot-compile and find-and-aot-compile. They were both good when they
were first written but the demands of Eclipse and JOnAS have exposed
numerous shortcomings.
Attached is a copy of aot-compile-rpm which I'd like to commit into
java-1.4.2-gcj-compat if everyone's agreeable. It's an order of
magnitude more complex than aot-compile and find-and-aot-compile, but
it's advantages over them are manifold:
IT'S MUCH MORE USABLE
=====================
Nativifying an rpm using aot-compile-rpm is a matter of
copy-and-paste:
1. Remove "BuildArch: noarch"
2. Add "BuildRequires: java-1.4.2-gcj-compat >= 1.4.2.0-Xjpp"
and "Requires(post,postun)" on same.
3. Add "aot-compile-rpm" to the very end of %install.
4. Add "/usr/bin/rebuild-gcj-db %{_libdir}" to %post and %postun.
5. Add "%attr(-,root,root) %{_libdir}/gcj/%{name}" to %files.
With aot-compile or find-and-aot-compile step 4 was much more
complex. I was always uneasy about nativifying things I didn't
myself maintain, postgresql-jdbc for example, because I was wary of
dropping a bunch of fragile code on someone else. No longer.
IT FINDS JARS BY SIGNATURE RATHER THAN BY EXTENSION
===================================================
find-and-aot-compile identifies jarfiles by their extension, ".jar",
so it misses ".war", ".ear", ".rar", and anything else the Java
world happens to invent. aot-compile-rpm identifies jarfiles by
opening them, so it catches them no matter what they're called.
It's already found some unexpected stuff. Tomcat, for example, has
a couple of servlets that are disabled by default because they are
in jarfiles called ".renametojar". aot-compile-rpm finds and
compiles these, so if the user renames them to enable the servlets
then they'll be running BC-compiled code.
IT IGNORES SUBSETTED JARFILES
=============================
Several packages contain jarfiles which are a subset of others.
MX4J, for example, has the APIs in mx4j-jmx.jar, the implementation
in mx4j-impl.jar, and both together in mx4j.jar. aot-compile-rpm
recognises that compiling mx4j.jar will get every class in the other
two jars too, so it'll only compile mx4j.jar. So, aot-compile-rpm
compiles MX4J in half the time (and generates half the bytes) that
find-and-aot-compile does.
IT WORKS AROUND THE PPC GO2 LIMIT
=================================
PPC machines are limited on the size of jarfiles that can be
compiled in one go, affecting Eclipse and JacORB, as described
at https://bugzilla.redhat.com/bugzilla/show_bug.cgi?id=158308.
aot-compile-rpm splits large jarfiles on ppc to avoid this.
One limitation of aot-compile and find-and-aot-compile that I have not
addressed (yet) is SMP support. Andrew Overholt suggested generating
a Makefile and letting make handle the complex stuff, which I think is
an excellent idea. Implementing something along those lines is
something I'd like to do, but I need to get ppc64 and s390*
bootstrapped first.
Cheers,
Gary
18 years, 9 months