Re: [fedora-java] interpreter mystery
by Anthony Green
On Tue, 2006-08-29 at 10:10 -0400, Jesse Keating wrote:
> I was not planning a rebuild. Please provide a list, this effects RHEL5 as
> well...
If nobody has provided a list yet, please just rebuild all of the java
packages.
Thanks,
AG
16 years, 9 months
How to debugging tomcat5 mailer problems
by Peter Carroll
I am completely lost on this one.
I have a tomcat5 web application running on Fedora Core 4. It ran perfectly
until a few months ago when suddenly it stopped sending email. I was using
the Jakarta mail-1.1 taglib and it looked like it worked but nothing went
out. I started using the mailer2 taglib and that finally gave me some errors
(below). Even the examples don't work.
Initially I had this on both my development and production servers. I hacked
away at the dev server replacing jar files and restarting and eventually it
all went away. I then reconciled that with my production server and nothing
works. I am sure it is some kind of version conflict as it showed up as
quickly as it went away.
I've been beating my head on this for a couple of months now with no
progress at all.
Can someone please suggest an approach to debug this? I'm at a total loss.
Thanks
Peter
The code as follows:
<%@ page contentType="text/html" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="mt" uri="http://jakarta.apache.org/taglibs/mailer2" %>
<mt:mail
from="peter.carroll(a)xxxxxxx.org"
to="peter.carroll(a)xxxxxxx.org"
subject="simple mail example using mt:send"
background="false"
>
Hello, World
</mt:mail>
HTTP Status 500 -
_____
type Exception report
message
description The server encountered an internal error () that prevented it
from fulfilling this request.
exception
javax.servlet.ServletException: javax.servlet.jsp.JspException: mt:mail:
cannot send / create message
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(java.lang.Th
rowable) (/usr/lib/libjasper5-runtime-5.0.30.jar.so)
org.apache.jasper.runtime.PageContextImpl.handlePageException(java.lang.Thro
wable) (/usr/lib/libjasper5-runtime-5.0.30.jar.so)
org.apache.jsp.trackreg.tmpa_jsp._jspService(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse) (Unknown Source)
org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request, javax.servlet.http.HttpServletResponse)
(/usr/lib/libjasper5-runtime-5.0.30.jar.so)
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) (/usr/lib/libservletapi5-5.0.30.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
(/usr/lib/libjasper5-compiler-5.0.30.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean) (/usr/lib/libjasper5-compiler-5.0.30.jar.so)
org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse)
(/usr/lib/libjasper5-compiler-5.0.30.jar.so)
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) (/usr/lib/libservletapi5-5.0.30.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Reque
st, org.apache.catalina.Response, org.apache.catalina.ValveContext)
(/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.tomcat5.CoyoteAdapter.service(org.apache.coyote.Request,
org.apache.coyote.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.core.MsgC
ontext) (Unknown Source)
org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
(Unknown Source)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
(/tmp/libtomcat-util-5.0.30.jar.sob9q4kk.so)
java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
root cause
javax.mail.SendFailedException: Unsupported option: SP
gnu.mail.providers.smtp.SMTPTransport.sendMessage(javax.mail.Message,
javax.mail.Address[]) (Unknown Source)
javax.mail.Transport.send0(javax.mail.Message, javax.mail.Address[])
(Unknown Source)
javax.mail.Transport.send(javax.mail.Message) (Unknown Source)
org.apache.taglibs.mailer2.MailTag.doEndTag() (Unknown Source)
org.apache.jsp.trackreg.tmpa_jsp._jspx_meth_mt_mail_0(javax.servlet.jsp.Page
Context) (Unknown Source)
org.apache.jsp.trackreg.tmpa_jsp._jspService(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse) (Unknown Source)
org.apache.jasper.runtime.HttpJspBase.service(javax.servlet.http.HttpServlet
Request, javax.servlet.http.HttpServletResponse)
(/usr/lib/libjasper5-runtime-5.0.30.jar.so)
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) (/usr/lib/libservletapi5-5.0.30.jar.so)
org.apache.jasper.servlet.JspServletWrapper.service(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, boolean)
(/usr/lib/libjasper5-compiler-5.0.30.jar.so)
org.apache.jasper.servlet.JspServlet.serviceJspFile(javax.servlet.http.HttpS
ervletRequest, javax.servlet.http.HttpServletResponse, java.lang.String,
java.lang.Throwable, boolean) (/usr/lib/libjasper5-compiler-5.0.30.jar.so)
org.apache.jasper.servlet.JspServlet.service(javax.servlet.http.HttpServletR
equest, javax.servlet.http.HttpServletResponse)
(/usr/lib/libjasper5-compiler-5.0.30.jar.so)
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse) (/usr/lib/libservletapi5-5.0.30.jar.so)
org.apache.catalina.valves.ErrorReportValve.invoke(org.apache.catalina.Reque
st, org.apache.catalina.Response, org.apache.catalina.ValveContext)
(/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.coyote.tomcat5.CoyoteAdapter.service(org.apache.coyote.Request,
org.apache.coyote.Response) (/usr/lib/libcatalina-5.0.30.jar.so)
org.apache.jk.server.JkCoyoteHandler.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.HandlerRequest.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.ChannelSocket.invoke(org.apache.jk.core.Msg,
org.apache.jk.core.MsgContext) (Unknown Source)
org.apache.jk.common.ChannelSocket.processConnection(org.apache.jk.core.MsgC
ontext) (Unknown Source)
org.apache.jk.common.SocketConnection.runIt(java.lang.Object[])
(Unknown Source)
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run()
(/tmp/libtomcat-util-5.0.30.jar.sob9q4kk.so)
java.lang.Thread.run() (/usr/lib/libgcj.so.6.0.0)
note The full stack trace of the root cause is available in the Apache
Tomcat/5.0 logs.
_____
Apache Tomcat/5.0
16 years, 9 months
interpreter mystery
by Anthony Green
gdb tells me that the azureus in x86 rawhide doesn't appear to be
running any of the Azureus or SWT .jar.so code. It's all being
interpreted.
However, lsof tells me that both the Azureus and SWT .jar.so files are
being held open by the gij process.
This doesn't appear to be a system-wide issue, since I can see that
tomcat5 is not being interpreted (again, via gdb).
But looking at rssowl, I see the rssowl .jar.so _is_ being used, but
swt's .jar.so isn't (despite being held open by the process).
Any ideas or suggestions?
AG
16 years, 9 months
Re: [fedora-java] interpreter mystery
by Gary Benson
Jesse Keating wrote:
> On Tuesday 29 August 2006 10:06, Anthony Green wrote:
> > Was Jesse planning another rebuild for FC6, or do we have to
> > identify all of the packages that need rebuilding?
>
> I was not planning a rebuild. Please provide a list, this effects
> RHEL5 as well...
The attached script should print you a list if you run it on a machine
with gcj-dbtool installed and /mnt/redhat mounted. I'd have run it
myself except that I couldn't find such a machine...
Cheers,
Gary
16 years, 9 months
gcj trunk -> redhat/gcc-4_1-branch merge complete
by Thomas Fitzsimmons
Hi,
gcc.gnu.org/svn/gcc/branches/redhat/gcc-4_1-branch-java-merge-20060823 now
contains the trunk -> redhat/gcc-4_1-branch Java merge that I'd like to see go
into FC6test3.
libjava's "make check" passes except for the -O3 StackTrace2 tests:
FAIL: StackTrace2 -O3 execution - source compiled test
FAIL: StackTrace2 -O3 execution - bytecode->native test
but these tests also failed on redhat/gcc-4_1-branch before my 2006-08-23 merge.
Andrew, can you take a look at what's causing these failures?
The merge includes the fix for PR13212, which fixes 33 tests that failed on
redhat/gcc-4_1-branch before my 2006-08-23 merge, and will allow you to remove
gcc41-java-pr13212.patch from the SRPM.
I tested the following on i386 Rawhide:
Eclipse
- extssh mode works well, better than pre-merge when
performance was unacceptably slow
gcjwebplugin
- works
Azureus
- works
AWT/Swing
- work much better than pre-merge, more responsive, no crashes
Java2D
- works much better than pre-merge, faster, no crashes
Can we include this merge in the next Rawhide gcc release?
Tom
16 years, 9 months
gcj trunk -> redhat/gcc-4_1-branch merge status
by Thomas Fitzsimmons
Hi,
I tagged revision 116352 as redhat/4_1-branch-java-merge-20060823, and I
committed the preliminary merge to the redhat/gcc-4_1-branch-java-merge-20060823
branch. The branch builds but there are still some test suite failures to work
through. Once the test suite runs I'll move on to testing bigger applications.
Tom
16 years, 9 months
gcj trunk -> redhat/gcc-4_1-branch merge
by Thomas Fitzsimmons
Hi,
I'm going to do the trunk to redhat/gcc-4_1-branch backport now. I'm planning
to tag revision 116352 as "redhat-java-merge-20060823". If you have an
outstanding patch that you want included in this merge, let me know today and
I'll hold off tagging until you've committed it.
Tom
16 years, 9 months
aot-compile-rpm problem
by Anthony Green
Hi,
On rawhide, when I do a "yum install java-1.4.2-gcj-compat-devel" on my
x86-64 system I get both the x86-64 and x86 packages. I suppose the x86
version is written last, because aot-compile-rpm's LIBDIR is set
to /usr/lib/gcj instead of /usr/lib64/gcj. This pretty much breaks rpm
building.
The fix is to make sure I just "yum install
java-1.4.2-gcj-compat-devel.x86_64".
Is this expected behaviour? I don't remember this being a problem for
my in the past.
Thanks,
AG
16 years, 9 months
GNU Classpath 0.92 release schedule and FC6test3 backport
by Thomas Fitzsimmons
Hi,
I'm wondering when GNU Classpath 0.92 is scheduled to be released. I'm trying
to plan for another backport before FC6test3.
My main interest in a backport is pulling all the GUI improvements from GNU
Classpath 0.92 to FC6test3, since there are some major ones including fixes for
crashers. But I know that you're more interested in a complete backport,
because it makes subsequent merges easier.
I'm going on vacation next week, so if possible, I'd like for us to make a
decision on our plan by tomorrow, so that I can start merging/testing
immediately when I get back.
Tom
16 years, 9 months
Enviroment Variables
by Ryan Ollerenshaw
I can write a shell script that will set an enviroment variable using
the export command, but then when i try and print the variable after
the shell scrit has been run the variable is no longer set. Why is
this? my problem is that i need to set some enviroment variables in a
shell script that is run when my tomcat server is started, but after
the startup script runs the variables are no longer set. Here is what
i am using in my scripts:
export CLASSPATH=/usr/root/
echo $CLASSPATH
but then when i do a echo $CLASSPATH from the command line the
original value is printed and not the one set in the shell script.
any help would be great.
16 years, 10 months