On Fri, Feb 8, 2013 at 9:42 AM, Konstantin Kolinko
<knst.koli...@gmail.com> wrote:
> 2013/2/8 G Kitagawa <kitagawag...@gmail.com>:
>> Hi -
>>
>> I'm new to Tomcat and Apache.
>>
>> Hardware: Dual Proc, UltraSPARC-IIIi, 8GB memory, Sun-Blade-2500
>> Operating System: Solaris 10 10/09
>> Java:  JRE 1.5.0.0_20-b2
>> Downloaded/Installed:  Apache 2.0.63, Tomcat 6.0.36, Jetspeed 2.2.2,
>> Maven 2.2.1, gcc 3.3.2
>>
>> Apache 2.0.63 runs fine (despite a very basic web page), I can get the
>> Tomcat page
>> that states I've set up Tomcat successfully, but I was unable to
>> create the jsvc daemon.
>>
>> I've put the <software_name>/bin and <software_lib> in my path and library 
>> path.
>> Also, I've declared the following:
>>     CATALINA_HOME=/opt/apache-tomcat-6.0.36
>>     JAVA_HOME=/usr/java
>>     CATALINA_TMPDIR=/opt/apache-tomcat-6.0.36/temp
>>
>> Following the example from the Tomcat set up page, the configure
>> script appears to me
>> (please remember I'm new to Tomcat) to run well.  When I do the make (using
>> /usr/ccs/bin/make), I'm getting errors from jsvc-unix.c, which
>> reference multiple lines
>> in siginfo.h (18 lines), signal.h and wait.h.  Subsequently, this
>> fails to build jsvc.
>> These three files are from /usr/include/sys, and I don't believe that
>> the syntax is
>> incorrect (one of the errors is "parse error before "k_siginfo_t",
>> from siginfo.h,
>> signal.h and wait.h).
>>
>> What am I missing in my configuration?  What other information can I
>> supply to you
>> for additional assistance?
>>
>
> 1. jsvc is not part of Tomcat, but is used as is from the Apache
> Commons Daemon project.
>
> Their docs are more authoritative than Tomcat ones and there is a
> later release available for download (1.0.12 vs. 1.0.10 in your
> 6.0.36).
> http://commons.apache.org/daemon/
>
> 2. Once you are successful in building jsvc and will go on to configuring it,
> take "bin/daemon.sh" from a recent version of Tomcat 7.
> That will save you some time.
>
> 3. I think "/usr/java" is a wrong choice for JAVA_HOME.  Do you have
> "$JAVA_HOME/bin/java" there?
>
> 4. Java 1.5 has known issues with some code pages (As mentioned in
> Tomcat release notes).
>
> Best regards,
> Konstantin Kolinko

1) Thanks for pointing me to the Apache Commons Daemon. I'll read
it and try.

2) I'll download Tomcat 7.0

3) /usr/java is a symbolic link to /usr/jdk/instances/jdk1.5.0.  Should I
not have $JAVA_HOME set to /usr/java?

4) Thanks for this - I'll try and update the version.

-- 

Solaris Rules - WinBLOWS

"I never wanted to be anything but an engineer" -- Capt. Montgomery Scott

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to