* first installation problems
@ 2001-12-07 2:22 Detlef Schmicker
2001-12-07 7:39 ` Tom Tromey
2001-12-07 19:38 ` Per Bothner
0 siblings, 2 replies; 3+ messages in thread
From: Detlef Schmicker @ 2001-12-07 2:22 UTC (permalink / raw)
To: rhug-rhats
Hay,
nice project. I just started to install
gcc and rhug from 3 dec 2001
Most things worked quite fine.
Now I have sucessfully compiled
somedirs = cup xalan BCEL pgsql-jdbc gnu.readline gnu.regexp xerces \
jakarta-regexp jakarta-oro jakarta-log4j jakarta-servletapi \
jakarta-tomcat
(the other packages had compilation errors on my installation, I will make a
report as soon as I have things running here)
Now I try to start tomcat and get an errormessage which I realy do not
understand.
What may be the problem?!
Thanks a lot
Detlef
root@detlinux:/home/detlef/gcctest/rhug/jakarta-tomcat > ./tomcat
ContextManager: Adding context Ctx( /examples )
ContextManager: Adding context Ctx( /admin )
Starting tomcat. Check logs/tomcat.log for error messages
ContextManager: Adding context Ctx( /CVS )
ContextManager: Adding context Ctx( /WEB-INF )
ContextManager: Adding context Ctx( /docs )
ContextManager: Adding context Ctx( /index.html )
ContextManager: Adding context Ctx( /tomcat-power.gif )
ContextManager: Adding context Ctx( /tomcat.gif )
Exception in thread "main" java.lang.InternalError: Thread.start called but
threads not available
at 0x403e0f70: _ZN4java4lang9ThrowableC1EPNS0_6StringE
(/usr/local/lib/libgcj.so.2)
at 0x403d54d6: _ZN4java4lang5ErrorC1EPNS0_6StringE
(/usr/local/lib/libgcj.so.2)
at 0x403e12f6: _ZN4java4lang19VirtualMachineErrorC1EPNS0_6StringE
(/usr/local/lib/libgcj.so.2)
at 0x403d76b6: _ZN4java4lang13InternalErrorC1EPNS0_6StringE
(/usr/local/lib/libgcj.so.2)
at 0x40509ab8: _Z15_Jv_ThreadStartPN4java4lang6ThreadEPiPFvS2_E
(/usr/local/lib/libgcj.so.2)
at 0x403c89f1: _ZN4java4lang6Thread5startEv (/usr/local/lib/libgcj.so.2)
at 0x400bf79f:
_ZN3org6apache6tomcat7session15StandardManager11threadStartEv
(/home/detlef/gcctest/rhug/jakarta-tomcat/.libs/lib-org-apache-tomcat.so.0)
at 0x400bf25b: _ZN3org6apache6tomcat7session15StandardManager5startEv
(/home/detlef/gcctest/rhug/jakarta-tomcat/.libs/lib-org-apache-tomcat.so.0)
at 0x400c131a:
_ZN3org6apache6tomcat7session26StandardSessionInterceptor11contextInitEPNS1_
4core7ContextE
(/home/detlef/gcctest/rhug/jakarta-tomcat/.libs/lib-org-apache-tomcat.so.0)
at 0x40093436:
_ZN3org6apache6tomcat4core14ContextManager11initContextEPNS2_7ContextE
(/home/detlef/gcctest/rhug/jakarta-tomcat/.libs/lib-org-apache-tomcat.so.0)
at 0x40093149: _ZN3org6apache6tomcat4core14ContextManager4initEv
(/home/detlef/gcctest/rhug/jakarta-tomcat/.libs/lib-org-apache-tomcat.so.0)
at 0x0804a266: ?? (/usr/src/packages/BUILD/glibc-2.2.2/csu/init.c:0)
at 0x0804a75f: ?? (/usr/src/packages/BUILD/glibc-2.2.2/csu/init.c:0)
at 0x403bcdf8: _ZN3gnu3gcj7runtime11FirstThread9call_mainEv
(/usr/local/lib/libgcj.so.2)
at 0x40444368: _ZN3gnu3gcj7runtime11FirstThread3runEv
(/usr/local/lib/libgcj.so.2)
at 0x403c895c: _Z13_Jv_ThreadRunPN4java4lang6ThreadE
(/usr/local/lib/libgcj.so.2)
at 0x403a1274: _Z11_Jv_RunMainPN4java4lang5ClassEPKciPS4_b
(/usr/local/lib/libgcj.so.2)
at 0x403a13bd: JvRunMain (/usr/local/lib/libgcj.so.2)
at 0x08049afd: ?? (/usr/src/packages/BUILD/glibc-2.2.2/csu/init.c:0)
at 0x40747c6f: __libc_start_main (/lib/libc.so.6)
at 0x080499d1: _start (??:0)
Dr. Detlef Schmicker
Produktentwicklung
Grabenstr. 48
D-47057 Duisburg
fax: 0203 354053
E-mail: schmicker@physik.de
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: first installation problems
2001-12-07 2:22 first installation problems Detlef Schmicker
@ 2001-12-07 7:39 ` Tom Tromey
2001-12-07 19:38 ` Per Bothner
1 sibling, 0 replies; 3+ messages in thread
From: Tom Tromey @ 2001-12-07 7:39 UTC (permalink / raw)
To: Detlef Schmicker; +Cc: rhug-rhats
>>>>> "Detlef" == Detlef Schmicker <schmicker@physik.de> writes:
Detlef> Now I try to start tomcat and get an errormessage which I
Detlef> realy do not understand.
Detlef> What may be the problem?!
Detlef> Exception in thread "main" java.lang.InternalError: Thread.start called but
Detlef> threads not available
You probably did not configure gcc with `--enable-threads=posix'.
Unfortunately, right now gcc doesn't build with threads enabled by
default, so you must configure them in by hand.
What platform are you running on?
Tom
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: first installation problems
2001-12-07 2:22 first installation problems Detlef Schmicker
2001-12-07 7:39 ` Tom Tromey
@ 2001-12-07 19:38 ` Per Bothner
1 sibling, 0 replies; 3+ messages in thread
From: Per Bothner @ 2001-12-07 19:38 UTC (permalink / raw)
To: Detlef Schmicker; +Cc: rhug-rhats
Detlef Schmicker wrote:
> Now I try to start tomcat and get an errormessage which I realy do not
> understand.
I assume you did a 'make install'?
I ran into one problem where 'make install' in BCEL doesn't
work unless you configure with an absoluete srcdir. I worked around
that by: make install top_srcdir=`/bin/pwd`
After installation, I had to make a link to a 'webaps' directory
(from a binary Tomcat installation), and I was then able to
browse static pages.
However, when trying to browse the HelloWorld xample servlet,
I got:
java.util.MissingResourceException: Bundle LocalStrings not found
at 0x403de9c0: java.lang.Throwable.Throwable(java.lang.String)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x403d2f36: java.lang.Exception.Exception(java.lang.String)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x403d77f6:
java.lang.RuntimeException.RuntimeException(java.lang.String)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x40423899:
java.util.MissingResourceException.MissingResourceException(java.lang.String,
java.lang.String, java.lang.String)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x40427998: java.util.ResourceBundle.getBundle(java.lang.String,
java.util.Locale, java.lang.ClassLoader)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x4042740b: java.util.ResourceBundle.getBundle(java.lang.String,
java.util.Locale) (/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x405066c7: ffi_call_SYSV
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x40506677: ffi_raw_call
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x403b0100:
_Jv_InterpMethod.continue1(_Jv_InterpMethodInvocation)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x40509034: _Jv_InterpMethod.run(ffi_cif, void, ffi_raw,
_Jv_InterpMethodInvocation) (/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x403afac4: _Jv_InterpMethod.run_normal(ffi_cif, void, ffi_raw,
void) (/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x4050652c: ?? (??:0)
at 0x401f7b16:
javax.servlet.http.HttpServlet.service(javax.servlet.http.HttpServletRequest,
javax.servlet.http.HttpServletResponse)
(/home/bothner/GNU/install-gcc/lib/lib-javax-servlet.so.0)
at 0x401f7e29:
javax.servlet.http.HttpServlet.service(javax.servlet.ServletRequest,
javax.servlet.ServletResponse)
(/home/bothner/GNU/install-gcc/lib/lib-javax-servlet.so.0)
at 0x4009da3c:
org.apache.tomcat.core.ServletWrapper.doService(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x40099235:
org.apache.tomcat.core.Handler.service(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x4009d544:
org.apache.tomcat.core.ServletWrapper.service(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x40098443:
org.apache.tomcat.core.ContextManager.internalService(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x400953c1:
org.apache.tomcat.core.ContextManager.service(org.apache.tomcat.core.Request,
org.apache.tomcat.core.Response)
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x400bd7bd:
org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(org.apache.tomcat.service.TcpConnection,
java.lang.Object[])
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x400b71f2:
org.apache.tomcat.service.TcpWorkerThread.runIt(java.lang.Object[])
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x400d8160:
org.apache.tomcat.util.ThreadPool__U24_ControlRunnable.run()
(/home/bothner/GNU/install-gcc/lib/lib-org-apache-tomcat.so.0)
at 0x403dbd53: java.lang.Thread.run()
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x403c63ac: _Jv_ThreadRun(java.lang.Thread)
(/home/bothner/GNU/install-gcc/lib/libgcj.so.2)
at 0x40505a60: ?? (??:0)
at 0x406ebd20: GC_start_routine
(/home/bothner/GNU/install-gcc/lib/libgcjgc.so.1)
at 0x4070eb9c: ?? (??:0)
at 0x408441ea: __clone (/lib/i686/libc.so.6)
Perhaps another installation problem.
--
--Per Bothner
per@bothner.com http://www.bothner.com/per/
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2001-12-08 3:38 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2001-12-07 2:22 first installation problems Detlef Schmicker
2001-12-07 7:39 ` Tom Tromey
2001-12-07 19:38 ` Per Bothner
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).