Mod_jk for apache2, tomcat 5 and solaris 10

when i compile mod_jk in solaris 10 x86 box it shows following error:
/bin/bash /var/apache2/build/libtool --silent
--mode=compile gcc -I/usr/apache2/include -g -O2 -O
-xarch=386 -xchip=pentium -xspace -Xa -xildoff
-DSSL_EXPERIMENTAL -DSSL_ENGINE -DHAVE_APR
-I/usr/share/src/apache2/srclib/apr/include
-I/usr/share/src/apache2/srclib/apr-util/include -g
-O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS
-D_REENTRANT -I /usr/jdk/entsys-j2se/include -I
/usr/jdk/entsys-j2se/include/ -c jk_ajp12_worker.c -o
jk_ajp12_worker.lo
gcc: unrecognized option `-Xa'
gcc: unrecognized option `-KPIC'
gcc: language ildoff not recognized
gcc: jk_ajp12_worker.c: linker input file unused
because linking not done
mv: cannot access .libs/jk_ajp12_worker.lo
*** Error code 2
make: Fatal error: Command failed for target
`jk_ajp12_worker.lo'
Current working directory
/Desktop/jakarta-tomcat-connectors-1.2.14.1-src/jk/native/common
*** Error code 1
The following command caused the error:
set fnord $MAKEFLAGS; amf=$2; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='common apache-2.0'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| case "$amf" in *=*) exit 1;; k) fail=yes;; *)
exit 1;; esac; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
i'm using apache 2 that is included in solaris 10 package, tomcat 5.5.17 and jakarta-tomcat-connectors-1.2.15.
please help.
mnio

Hi
i am also face problem in mod_jk for apache 2.2.0
I have done installation of apache 2.2.0 on Solaris 10_x86 .Problem in Solaris OS .But i face problem in tomcat connecter on Solaris 10_x86.
I make theses step in Solaris 10.
I download connector tomcat-connectors-1.2.25-src.tar.gz
# gunzip tomcat-connectors-1.2.25-src.tar.gz
# cd \tomcat-connectors-1.2.25-src\native
#./ buildconf.sh
# ./configure - - with - -apxs=/usr/local/apache2/bin/apxs after run this command make new file.File name is Makefile
Edit in Makefile and parameter -Wl,-brtl
Run make command for tomcat-connectors (mod_jk) compiling
bash-3.00# make
Making all in common
/usr/local/apr/build-1/libtool silent mode=compile gcc -I/usr/local/apache2/include -g -O2 -L/usr/local/lib -R/usr/local/lib -L/usr/local/ssl/lib -R/usr/local/ssl/lib -L/usr/openwin/lib -R/usr/openwin/lib -DHAVE_APR -I/usr/local/apr/include/apr-1 -I/usr/local/apr/include/apr-1 -g -O2 -DSOLARIS2=10 -D_POSIX_PTHREAD_SEMANTICS -D_REENTRANT -D_LARGEFILE64_SOURCE -I /include -I /include/ -c jk_ajp12_worker.c -o jk_ajp12_worker.lo
/usr/local/apr/build-1/libtool[384]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[384]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[709]: /usr/local/bin/sed: not found
*** Warning: inferring the mode of operation is deprecated.
*** Future versions of Libtool will require --mode=MODE be specified.
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1003]: /usr/local/bin/sed: not found
/usr/local/apr/build-1/libtool[1054]: /usr/local/bin/sed: not found
: compile: cannot determine name of library object from `'
*** Error code 1
make: Fatal error: Command failed for target `jk_ajp12_worker.lo'
Current working directory /export/home/apache/tomcat-connectors-1.2.25-src/native/common
*** Error code 1
The following command caused the error:
failcom='exit 1'; \
for f in x $MAKEFLAGS; do \
case $f in \
*=* | --[!k]*);; \
k) failcom='fail=yes';; \
esac; \
done; \
dot_seen=no; \
target=`echo all-recursive | sed s/-recursive//`; \
list='common apache-2.0'; for subdir in $list; do \
echo "Making $target in $subdir"; \
if test "$subdir" = "."; then \
dot_seen=yes; \
local_target="$target-am"; \
else \
local_target="$target"; \
fi; \
(cd $subdir && make $local_target) \
|| eval $failcom; \
done; \
if test "$dot_seen" = "no"; then \
make "$target-am" || exit 1; \
fi; test -z "$fail"
make: Fatal error: Command failed for target `all-recursive'
Please help me. My E-mail ID is [email protected]

Similar Messages

  • WL 5.1sp9 and patches for JDK 1.3 and Solaris 2.8patches

    Are there any patches needed to run WL 5.1 sp 9 with solaris 2.8, JDK 1.3.0, and clarify 10.1. Any response to any topic would be appreciated.

    see http://java.sun.com for patches required for the JVM
    Mike
    Dennis P. Meek <[email protected]> wrote:
    Are there any patches needed to run WL 5.1 sp 9 with solaris 2.8, JDK
    1.3.0, and clarify 10.1. Any response to any topic would be appreciated.

  • Oracle 9.2.0.2 for Windows XP 32 and Solaris 64 bit

    When will a version of 9.2.0.2 be available for Solaris and Windows XP Pro 32bit? I only see Windows XP 64 bit for this version.
    I have some software that uses the oracle database and it seems to require 9.2.0.2.
    Thanks!

    Download 9.2.0.1, and then the 9.2.0.2 patch from Metalink.
    Alison

  • CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (windows)

    CF10 64bit  Apache connector (mod_jk.so) does not work for Apache2.4.3 (win64), where can I get a module that works?
    I get this error from Apache :
    C:\www\Apache2.4\bin>httpd -t
    httpd: Syntax error on line 741 of C:/www/Apache2.4/conf/httpd.conf: Syntax error on line 2 of C:/www/Apache2.4/conf/mod_jk.conf: Cannot load C:\\ColdFusion10\\config\\wsconfig\\1\\mod_jk.so into server: The specified procedure could not be found.
    I have already tried manually extracting the pre-built mod_jk22.so from the wsconfig.jar with same results.
    If I switch to Apache 2.2.22 64bit, it does work.  what I need is to be able to run on Apache 2.4.

    Please check out this link.
    http://rob.brooks-bilson.com/index.cfm/2012/2/21/Installing-ColdFusion-10-with-Apache-on-W indows
    In this link, they are configuring with Apache 2.2 only.
    When we were working colfusion 9 with Linux and apache, we had the same problem, it will work when it connect to Apache 2.0 but not with Apache 2.2 version.

  • OCR and vote disk Allocation for shared raw storage with Solaris 10 questio

    Hi all,
    Current environment is Solaris 10 SPARC 64 bit OS with Hitachi SAN for shared storage and Sun E6900 servers.
    For Oracle 10g RAC (10.2) and ASM, I am setting up the vote disk and OCR files on shared raw storage area network.
    Assume that I have a 35Gb LUN carved out on raw device for the vote disk and OCR for a 2-node Oracle 10g RAC cluster and since the vote disk and OCR only require 120MB of storage, is there a way to use only a 120MB slice from the LUN or do I need to allocate the entire LUN/raw device to the vote disk?
    I am looking for a way to avoid wasting space for the OCR and vote disk with my 10g RAC cluster and we are using raw devices and Oracle 10g RAC Clusterware with Veritas filesystem for the disk management. Can I have several slices on Solaris 10 with raw shared storage (Hitachi) to triple mirror my OCR and vote disk files?
    It seems odd to have to use an entire 35GB LUN just for 2 small files: vote disk and OCR. Is there a way to partition a 120MB slice on one of the devices and allocate the rest to ASM?

    Hi
    In our RAC env.
    we have 1GB LUN for OCR and Voting Disk and 100GB LUN for ASM disk. we have 4 Node RAC env on AIX with 2 SAN storage on Hitachi system for our Application.
    we keept 1st Voting diks on SAN-1 2nd Voting Disk on SAN-2 and third voting on SAN-3.
    OCR disk on SAN1 and OCR_MIRROR Disk on SAN-2.
    we have ASM DIsk with Normal Redundancy . Failure Group 1 on SAN-1 and
    Failure Group 2 on SAN-2
    Regards
    Bharat

  • WebLogic 5.1 for HP-UX and Solaris

    Hi,
    Our team is interested in running WebLogic 5.1 in UNIX
    environments (such as HPUX and Solaris). So when I get to the
    download page do I select the "For non-Win32 users"? Or is
    there another place to get the UNIX versions of WebLogic 5.1?
    Thanks for your help (in advance)!
    Hugo

    Yes, that's it.
    Michael Girdley
    BEA Systems Inc
    "Hugo Penafiel" <[email protected]> wrote in message
    news:[email protected]..
    Hi,
    Our team is interested in running WebLogic 5.1 in UNIX
    environments (such as HPUX and Solaris). So when I get to the
    download page do I select the "For non-Win32 users"? Or is
    there another place to get the UNIX versions of WebLogic 5.1?
    Thanks for your help (in advance)!
    Hugo

  • IOCTL for keyboard IO Solaris 10 and Solaris 8

    Do you know what has chaned for keyboard io via solaris 8 and solaris 10 update 5?
    Here is the story. I have a solaris binary work fine in solaris 8. It remaps the keyboard input (most probably using ioctl)
    according to some table it has (actually a binary file on the filesystem). Code uses open windows.
    It has told me that it work fine with free solaris update 3.
    I am trying to make the code work in free solaris update 5, but keyboard input is not converted to something else.
    We have installed OWA package for compatibility.
    I have tried changing keymap of openwindows via various way openwin configuration, xmodmap, changing keytable files, etc. Here are resuts.
    Solaris 8 and till Solaris update 3:
    a -> A
    In Solaris 10 update 5:
    a -> 3
    all keymap changes did not effect the result for solaris update 5.
    The interesting part is If I start openwin via +kb option
    a is converted to @
    I don't have the source code for the binary.
    What could be the reason for that? and more important any way to fix this?

    Found the problem.
    In solaris 8 keycodes are up to 159 and in Solaris 10 up to 254(?).
    and keycodes refers to different characters between these two versions.

  • Release Date of EM Grid Control 10.2 for HP-UX and Solaris?

    Hello,
    does anybody know the estimated release date of EM Grid Control 10.2 for HP-UX and Solaris?
    Regards,
    Martin

    We are also very curious about that here. If anyone has any information or estimates it would be much appreciated.
    We've ran into the following problem:
    Note 338123.1 After Upgrading Catalog Database to 10.2 Cannot Use RMAN Catalog With 10.1 Grid Control
    And have been told we have the following options:
    Workarounds available:
    1. Use dbcontrol for the 10.2 database to maintain the recovery catalog until 10.2 Grid Control is available
    2. Use the RMAN command line utility
    3. Use the 10.2 Management Agent when available.
    Which basically means we are out of luck on OEM RMAN until 10.2, and hope to hear it may be available in the near future.

  • Wu-ftpd installable for solaris 10 and solaris 9

    Hi,
    I could see only "proftpd" is available http://www.sun.com/software/solaris/freeware
    But I am looking for the "wu-ftpd" server which is compatable with Solaris 9 and Solaris 10.
    Any one help me from where I can get the "wu-ftpd" installable for solaris 9 and solaris 10 sparc server.
    thanks,
    Amudha

    Hi Robert,
    Thanks for your reply.
    I too saw that the ftp version used in solaris 10 by default is wu-ftpd, but I am not sure about it, because when I tried to ftp to my solaris box the version it is started is not "FTP server (Version wu-2.6.2(5)".
    I have got the wu-ftpd installable. But I could not get the proper document for configuring the same.
    Question1: How to stop existing ftp service and start newly instlaled wu-ftpd in Solaris 9 and Solaris 10 servers?
    Earlier solaris 8 version I change the ftpd version in /etc/inetd.conf file and give HUP signal to inetd then this new wu-ftpd version will be used.
    Question 2: It always starts the system inbuilt ftp server and also I am getting ftp log in failure for any user which I add newly or even existing users.
    could any one help to resolve these issues? Thanks in advance for your help.
    Amdudha

  • Help systems for Win, Linux, and Solaris

    Is there a flavor of RoboHelp that can generate
    cross-platform help? I would like to create a single Help system
    for Windows, Linux Redhat 4 ES, and Solaris 10.

    See http://forums.adobe.com/thread/1417974
    See www.grainge.org for RoboHelp and Authoring tips
    @petergrainge

  • Apache2 + Tomcat

    I'm looking into building a streaming and photo sharing app using Tomcat and Apache 2.0 via the mod_jk connector. Tomcat is woeful in serving large files and hence will differ the images and music streaming to Apache.
    After having done some initial research, I'm not clear on if session replication/sharing between Apache and the Tomcat servlet container is possible. For instance, if the media files are to be served via Apache then a user will only have access to resources if an authenticated session is present in Tomcat. Apache is configured to serve images/* and music/* URI's however access to these resource is restricted and should not be available directly from Apache. Only if a user is authenticated and a valid session is created in Tomcat, should the user be able to access these resources. Also, the authenticated user will only have access to their own photo and music files.
    My question if this is possible? Or any alternate ideas?
    Thanks!

    I'm looking into building a streaming and photo sharing app using Tomcat and Apache 2.0 via the mod_jk connector. Tomcat is woeful in serving large files and hence will differ the images and music streaming to Apache.
    After having done some initial research, I'm not clear on if session replication/sharing between Apache and the Tomcat servlet container is possible. For instance, if the media files are to be served via Apache then a user will only have access to resources if an authenticated session is present in Tomcat. Apache is configured to serve images/* and music/* URI's however access to these resource is restricted and should not be available directly from Apache. Only if a user is authenticated and a valid session is created in Tomcat, should the user be able to access these resources. Also, the authenticated user will only have access to their own photo and music files.
    My question if this is possible? Or any alternate ideas?
    Thanks!

  • 1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk? 2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?

    FYI....boot from SAN is required for physical server (T4-1) (not OVM).
    1) How to Boot from SAN for T4-1 Server with Solaris 11.1 OS on the disk?
    The SAN disks allocated are visible in ok prompt. below is the output.
    (0) ok show—disks
    a) /pci@400/pci@2/pci@0/pci@f/pci@0/usb@0, 2/hub@2/hub@3/storage@2/disk
    b) /pci@400/pci@2/pci@0/pci€a/SUNW, ezalxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk
    d) /pci@400/pci@2/pci@0/pci@8/SUNW, emlxs@0, l/fp@0, 0/disk
    e) /pci@400/pci@2/pci@0/pci@8/SUNW,enlxs@0/fp@0,0/disk
    f) /pci@400/pci@2/pci@0/pci@4/scsi@0/disk
    g) /pci@400/pci@1/pci@0/pci@4/scsi@0/disk
    h) /iscsi—hba/disk
    q) NO SELECTION
    valid choice: a. . .h, q to quit c
    /pci@400/pci@2/pci@0/pci@a/SUNW, ealxs@0/fp@0, 0/disk has been selected.
    Type “Y ( Control—Y ) to insert it in the command line.
    e.g. ok nvalias mydev “Y
    for creating devalias mydev for /pci@400/pci@2/pci@0/pci@a/SUNW,emlxs@0/fp@0,0/disk
    (0) ok set—sfs—boot
    set—sfs—boot ?
    We tried selecting a disk and applying sfs-boot at ok prompt.
    Can you please help me providing detailed pre-requesites/steps/procedure to implement this and to start boot from SAN.
    2) How to SMI Label/Format a disk while OS Installation in Solaris 11.1?
    As we know that ZFS is the default filesystem in Solaris 11.
    We have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.
    I have seen the solution that using format -e, we change the labelling but all the data will be lost, whats the way to apply a SMI Label/Format on a rpool disks while OS Installation itself.
    Please provide me the steps to SMI Label a disk while installaing Solaris 11.1 OS.

    Oracle recommends below things on rpool: (thats reason wanted to apply SMI Label)
    I have seen in the Oracle documentation that for rpool below are recommended:
    - A disk that is intended for a ZFS root pool must be created with an SMI label, not an EFI label.
    - Create root pools with slices by using the s* identifier.
    - ZFS applies an EFI label when you create a storage pool with whole disks.
    - In general, you should create a disk slice with the bulk of disk space in slice 0.

  • Vista and Solaris 10, are they compatible?

    I have attempted to follow dual boot guides found everywhere, but none tailor specifically to (or eve mention) Vista. This is a problem, because Vista does not use the same method of boot as previous versions of NT.
    So far, in my many failed attempts at creating a Vista dual boot, I have experienced this:
    When I install Solaris 10 on any partition (Solaris installs correctly and works great), and then attempt to install Windows Vista, Vista says all of my partitions do not meet its requirements for installation (that the drive is NTFS and at least 12 GB is all it tells me). Even after formatting, deleting, recreating, and reformatting a drive, the drive is still unusable. Only after deleting ALL drives, including Solaris 10, and recreating and brand new first partition does Vista allow me to install. If I create a partition that Vista allows me to use, and also a partition to use with Solaris, and THEN install Solaris, the partition that Vista liked can no longer be used!
    When I install Windows Vista first (and it works fine) (which is what I tried first and reasoned is what I should be doing), and then install Solaris 10 on a partition (it installs correctlt and works great), I load up my computer and go into the GRUB bootloader. I can select Windows. However, when attempting to load windows, I get an error (in the Vista font by the way) that says my operating system cannot be loaded. When I load my Vista install disc, it cannot find any installations of windows, and it cannot repair the master boot record, saying something like the filesystem is corrupt. However, just as an experiment, I loaded Vista onto the former Solaris drive, and looked at my first partition. Every file was there, intact.
    I have attempted this with Windows Home Premium 32 bit, Windows Business 32 bit, and Vista Ultimate x64. I don't want to believe that it's impossible to load Vista and Solaris simultaneously, I've seen as much stating its impossibility as I've seen documents telling me how to do it (<- cold irony).
    As long as I can get AN INSTALLATION of Solaris 10 on my machine at the same time I have Vista able to boot, I'm fine, but I seem to have lost on all fronts.
    Edited by: ZetaZeta on Sep 19, 2007 12:30 AM

    In Solaris Express, this is not an issue, according to this weblog:
    http://blogs.sun.com/moinakg/entry/solaris_vista_dual_boot_conclusion
    For versions of Solaris Express prior to buid 70, this method was described for creating a dual-boot with the oh-too-picky Windows Vista:
    http://linux.wordpress.com/2007/02/17/vista-and-solaris-express-dual-boot/
    I am going to assume that setting up a dual-boot with Solaris 10 is similar to, if not the same as, Solaris Express, since the only steps specific to Solaris are the files I copy from Solaris.
    I hope this helps anyone else with a problem similar to mine.

  • Has anyone run the connection pooling for mysql & tomcat successfully?

    I'm trying to set up connection pooling. I'm following the how-to page at
    http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jndi-datasource-examples-howto.html
    But when i test the DBTest/test.jsp file, tomcat displays an error =
    could not load jdbc driver class 'null'(msdos)
    i have placed all the required .jar files in the tomcat lib.
    below is the cofiguration i did to the server.xml file
    <!-- Example Server Configuration File -->
    <!-- Note that component elements are nested corresponding to their
    parent-child relationships with each other -->
    <!-- A "Server" is a singleton element that represents the entire JVM,
    which may contain one or more "Service" instances. The Server
    listens for a shutdown command on the indicated port.
    Note: A "Server" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <Server port="8005" shutdown="SHUTDOWN" debug="0">
    <!-- Uncomment these entries to enable JMX MBeans support -->
    <Listener className="org.apache.catalina.mbeans.ServerLifecycleListener"
    debug="0"/>
    <Listener className="org.apache.catalina.mbeans.GlobalResourcesLifecycleListener"
    debug="0"/>
    <!-- Global JNDI resources -->
    <GlobalNamingResources>
    <!-- Test entry for demonstration purposes -->
    <Environment name="simpleValue" type="java.lang.Integer" value="30"/>
    <!-- Editable user database that can also be used by
    UserDatabaseRealm to authenticate users -->
    <Resource name="UserDatabase" auth="Container"
    type="org.apache.catalina.UserDatabase"
    description="User database that can be updated and saved">
    </Resource>
    <ResourceParams name="UserDatabase">
    <parameter>
    <name>factory</name>
    <value>org.apache.catalina.users.MemoryUserDatabaseFactory</value>
    </parameter>
    <parameter>
    <name>pathname</name>
    <value>conf/tomcat-users.xml</value>
    </parameter>
    </ResourceParams>
    </GlobalNamingResources>
    <!-- A "Service" is a collection of one or more "Connectors" that share
    a single "Container" (and therefore the web applications visible
    within that Container). Normally, that Container is an "Engine",
    but this is not required.
    Note: A "Service" is not itself a "Container", so you may not
    define subcomponents such as "Valves" or "Loggers" at this level.
    -->
    <!-- Define the Tomcat Stand-Alone Service -->
    <Service name="Tomcat-Standalone">
    <!-- A "Connector" represents an endpoint by which requests are received
    and responses are returned. Each Connector passes requests on to the
    associated "Container" (normally an Engine) for processing.
    By default, a non-SSL HTTP/1.1 Connector is established on port 8080.
    You can also enable an SSL HTTP/1.1 Connector on port 8443 by
    following the instructions below and uncommenting the second Connector
    entry. SSL support requires the following steps (see the SSL Config
    HOWTO in the Tomcat 4.0 documentation bundle for more detailed
    instructions):
    * Download and install JSSE 1.0.2 or later, and put the JAR files
    into "$JAVA_HOME/jre/lib/ext".
    * Execute:
    %JAVA_HOME%\bin\keytool -genkey -alias tomcat -keyalg RSA (Windows)
    $JAVA_HOME/bin/keytool -genkey -alias tomcat -keyalg RSA (Unix)
    with a password value of "changeit" for both the certificate and
    the keystore itself.
    By default, DNS lookups are enabled when a web application calls
    request.getRemoteHost(). This can have an adverse impact on
    performance, so you can disable it by setting the
    "enableLookups" attribute to "false". When DNS lookups are disabled,
    request.getRemoteHost() will return the String version of the
    IP address of the remote client.
    -->
    <!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8081 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8080" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="100" debug="0" connectionTimeout="20000"
    useURIValidationHack="false" disableUploadTimeout="true" />
    <!-- Note : To disable connection timeouts, set connectionTimeout value
    to -1 -->
    <!-- Define a SSL Coyote HTTP/1.1 Connector on port 8443 -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8443" minProcessors="5" maxProcessors="75"
    enableLookups="true"
         acceptCount="100" debug="0" scheme="https" secure="true"
    useURIValidationHack="false" disableUploadTimeout="true">
    <Factory className="org.apache.coyote.tomcat4.CoyoteServerSocketFactory"
    clientAuth="false" protocol="TLS" />
    </Connector>
    -->
    <!-- Define a Coyote/JK2 AJP 1.3 Connector on port 8009 -->
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8009" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" connectionTimeout="20000"
    useURIValidationHack="false"
    protocolHandlerClassName="org.apache.jk.server.JkCoyoteHandler"/>
    <!-- Define an AJP 1.3 Connector on port 8009 -->
    <!--
    <Connector className="org.apache.ajp.tomcat4.Ajp13Connector"
    port="8009" minProcessors="5" maxProcessors="75"
    acceptCount="10" debug="0"/>
    -->
    <!-- Define a Proxied HTTP/1.1 Connector on port 8082 -->
    <!-- See proxy documentation for more information about using this. -->
    <!--
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
    port="8082" minProcessors="5" maxProcessors="75"
    enableLookups="true" disableUploadTimeout="true"
    acceptCount="100" debug="0" connectionTimeout="20000"
    proxyPort="80" useURIValidationHack="false" />
    -->
    <!-- Define a non-SSL legacy HTTP/1.1 Test Connector on port 8083 -->
    <!--
    <Connector className="org.apache.catalina.connector.http.HttpConnector"
    port="8083" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- Define a non-SSL HTTP/1.0 Test Connector on port 8084 -->
    <!--
    <Connector className="org.apache.catalina.connector.http10.HttpConnector"
    port="8084" minProcessors="5" maxProcessors="75"
    enableLookups="true" redirectPort="8443"
    acceptCount="10" debug="0" />
    -->
    <!-- An Engine represents the entry point (within Catalina) that processes
    every request. The Engine implementation for Tomcat stand alone
    analyzes the HTTP headers included with the request, and passes them
    on to the appropriate Host (virtual host). -->
    <!-- Define the top level container in our container hierarchy -->
    <Engine name="Standalone" defaultHost="localhost" debug="0">
    <!-- The request dumper valve dumps useful debugging information about
    the request headers and cookies that were received, and the response
    headers and cookies that were sent, for all requests received by
    this instance of Tomcat. If you care only about requests to a
    particular virtual host, or a particular application, nest this
    element inside the corresponding <Host> or <Context> entry instead.
    For a similar mechanism that is portable to all Servlet 2.3
    containers, check out the "RequestDumperFilter" Filter in the
    example application (the source for this filter may be found in
    "$CATALINA_HOME/webapps/examples/WEB-INF/classes/filters").
    Request dumping is disabled by default. Uncomment the following
    element to enable it. -->
    <!--
    <Valve className="org.apache.catalina.valves.RequestDumperValve"/>
    -->
    <!-- Global logger unless overridden at lower levels -->
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="catalina_log." suffix=".txt"
    timestamp="true"/>
    <!-- Because this Realm is here, an instance will be shared globally -->
    <!-- This Realm uses the UserDatabase configured in the global JNDI
    resources under the key "UserDatabase". Any edits
    that are performed against this UserDatabase are immediately
    available for use by the Realm. -->
    <Realm className="org.apache.catalina.realm.UserDatabaseRealm"
    debug="0" resourceName="UserDatabase"/>
    <!-- Comment out the old realm but leave here for now in case we
    need to go back quickly -->
    <!--
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    -->
    <!-- Replace the above Realm with one of the following to get a Realm
    stored in a database and accessed via JDBC -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="org.gjt.mm.mysql.Driver"
    connectionURL="jdbc:mysql://localhost/authority"
    connectionName="test" connectionPassword="test"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="oracle.jdbc.driver.OracleDriver"
    connectionURL="jdbc:oracle:thin:@ntserver:1521:ORCL"
    connectionName="scott" connectionPassword="tiger"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!--
    <Realm className="org.apache.catalina.realm.JDBCRealm" debug="99"
    driverName="sun.jdbc.odbc.JdbcOdbcDriver"
    connectionURL="jdbc:odbc:CATALINA"
    userTable="users" userNameCol="user_name" userCredCol="user_pass"
    userRoleTable="user_roles" roleNameCol="role_name" />
    -->
    <!-- Define the default virtual host -->
    <Host name="localhost" debug="0" appBase="webapps"
    unpackWARs="true" autoDeploy="true">
    <Context path="/my-jsp" docBase="c:\JSP-Files" debug="0"
    privileged="true" reloadable="true" />
         <Context path="" docBase="c:\Inetpub\wwwroot" debug="0" privileged="true" />
    <Context path="/sharon" docBase="C:\Tomcat 4.1\webapps\sharon" debug="0" privileged="true" />
    <!-- Normally, users must authenticate themselves to each web app
    individually. Uncomment the following entry if you would like
    a user to be authenticated the first time they encounter a
    resource protected by a security constraint, and then have that
    user identity maintained across all web applications contained
    in this virtual host. -->
    <!--
    <Valve className="org.apache.catalina.authenticator.SingleSignOn"
    debug="0"/>
    -->
    <!-- Access log processes all requests for this virtual host. By
    default, log files are created in the "logs" directory relative to
    $CATALINA_HOME. If you wish, you can specify a different
    directory with the "directory" attribute. Specify either a relative
    (to $CATALINA_HOME) or absolute path to the desired directory.
    -->
    <!--
    <Valve className="org.apache.catalina.valves.AccessLogValve"
    directory="logs" prefix="localhost_access_log." suffix=".txt"
    pattern="common" resolveHosts="false"/>
    -->
    <!-- Logger shared by all Contexts related to this virtual host. By
    default (when using FileLogger), log files are created in the "logs"
    directory relative to $CATALINA_HOME. If you wish, you can specify
    a different directory with the "directory" attribute. Specify either a
    relative (to $CATALINA_HOME) or absolute path to the desired
    directory.-->
    <Logger className="org.apache.catalina.logger.FileLogger"
    directory="logs" prefix="localhost_log." suffix=".txt"
         timestamp="true"/>
    <!-- Define properties for each web application. This is only needed
    if you want to set non-default properties, or have web application
    document roots in places other than the virtual host's appBase
    directory. -->
    <!-- Tomcat Root Context -->
    <!--
    <Context path="" docBase="ROOT" debug="0"/>
    -->
    <!-- Tomcat Examples Context -->
    <Context path="/examples" docBase="examples" debug="0"
    reloadable="true" crossContext="true">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="localhost_DBTest_log." suffix=".txt"
    timestamp="true"/>
    <Ejb name="ejb/EmplRecord" type="Entity"
    home="com.wombat.empl.EmployeeRecordHome"
    remote="com.wombat.empl.EmployeeRecord"/>
    <!-- If you wanted the examples app to be able to edit the
    user database, you would uncomment the following entry.
    Of course, you would want to enable security on the
    application as well, so this is not done by default!
    The database object could be accessed like this:
    Context initCtx = new InitialContext();
    Context envCtx = (Context) initCtx.lookup("java:comp/env");
    UserDatabase database =
    (UserDatabase) envCtx.lookup("userDatabase");
    -->
    <!--
    <ResourceLink name="userDatabase" global="UserDatabase"
    type="org.apache.catalina.UserDatabase"/>
    -->
    <!-- PersistentManager: Uncomment the section below to test Persistent
              Sessions.
    saveOnRestart: If true, all active sessions will be saved
    to the Store when Catalina is shutdown, regardless of
    other settings. All Sessions found in the Store will be
    loaded on startup. Sessions past their expiration are
    ignored in both cases.
    maxActiveSessions: If 0 or greater, having too many active
    sessions will result in some being swapped out. minIdleSwap
    limits this. -1 means unlimited sessions are allowed.
    0 means sessions will almost always be swapped out after
    use - this will be noticeably slow for your users.
    minIdleSwap: Sessions must be idle for at least this long
    (in seconds) before they will be swapped out due to
    maxActiveSessions. This avoids thrashing when the site is
    highly active. -1 or 0 means there is no minimum - sessions
    can be swapped out at any time.
    maxIdleSwap: Sessions will be swapped out if idle for this
    long (in seconds). If minIdleSwap is higher, then it will
    override this. This isn't exact: it is checked periodically.
    -1 means sessions won't be swapped out for this reason,
    although they may be swapped out for maxActiveSessions.
    If set to >= 0, guarantees that all sessions found in the
    Store will be loaded on startup.
    maxIdleBackup: Sessions will be backed up (saved to the Store,
    but left in active memory) if idle for this long (in seconds),
    and all sessions found in the Store will be loaded on startup.
    If set to -1 sessions will not be backed up, 0 means they
    should be backed up shortly after being used.
    To clear sessions from the Store, set maxActiveSessions, maxIdleSwap,
    and minIdleBackup all to -1, saveOnRestart to false, then restart
    Catalina.
    -->
              <!--
    <Manager className="org.apache.catalina.session.PersistentManager"
    debug="0"
    saveOnRestart="true"
    maxActiveSessions="-1"
    minIdleSwap="-1"
    maxIdleSwap="-1"
    maxIdleBackup="-1">
    <Store className="org.apache.catalina.session.FileStore"/>
    </Manager>
              -->
    <Environment name="maxExemptions" type="java.lang.Integer"
    value="15"/>
    <Parameter name="context.param.name" value="context.param.value"
    override="false"/>
    <Resource name="jdbc/EmployeeAppDb" auth="SERVLET"
    type="javax.sql.DataSource"/>
    <Resource name="jdbc/TestDB"
         auth="Container"
         type="javax.sql.DataSource"/>
    <ResourceParams name="jdbc/TestDB">
    <parameter>
         <name>factory</name>
         <value>org.apache.commons.dbcp.BasicDataSourceFactory</value>
         </parameter>
         <!-- Maximum number of dB connections in pool. Make sure you
         configure your mysqld max_connections large enough to handle
         all of your db connections. Set to 0 for no limit.
         -->
         <parameter>
         <name>maxActive</name>
         <value>100</value>
         </parameter>
         <!-- Maximum number of idle dB connections to retain in pool.
         Set to 0 for no limit.
         -->
         <parameter>
         <name>maxIdle</name>
         <value>30</value>
         </parameter>
         <!-- Maximum time to wait for a dB connection to become available
         in ms, in this example 10 seconds. An Exception is thrown if
         this timeout is exceeded. Set to -1 to wait indefinitely.
         -->
         <parameter>
         <name>maxWait</name>
         <value>10000</value>
         </parameter>
    <!-- MySQL dB username and password for dB connections -->
    <parameter>
    <name>user</name>
    <value>javauser</value>
    </parameter>
    <parameter>
    <name>password</name>
    <value>javadude</value>
    </parameter>
    <!-- Class name for mm.mysql JDBC driver -->
    <parameter>
    <name>driverClassName</name>
    <value>org.gjt.mm.mysql.Driver</value>
    </parameter>
    <!-- The JDBC connection url for connecting to your MySQL dB.
         The autoReconnect=true argument to the url makes sure that the
         mm.mysql JDBC Driver will automatically reconnect if mysqld closed the
         connection. mysqld by default closes idle connections after 8 hours.
         -->
         <parameter>
         <name>url</name>
         <value>jdbc:mysql://localhost:3306/javatest?autoReconnect=true</value>
    </parameter>
    </ResourceParams>
    <Resource name="mail/Session" auth="Container"
    type="javax.mail.Session"/>
    <ResourceParams name="mail/Session">
    <parameter>
    <name>mail.smtp.host</name>
    <value>localhost</value>
    </parameter>
    </ResourceParams>
    <ResourceLink name="linkToGlobalResource"
    global="simpleValue"
    type="java.lang.Integer"/>
    </Context>
    </Host>
    </Engine>
    </Service>
    <!-- The MOD_WEBAPP connector is used to connect Apache 1.3 with Tomcat 4.0
    as its servlet container. Please read the README.txt file coming with
    the WebApp Module distribution on how to build it.
    (Or check out the "jakarta-tomcat-connectors/webapp" CVS repository)
    To configure the Apache side, you must ensure that you have the
    "ServerName" and "Port" directives defined in "httpd.conf". Then,
    lines like these to the bottom of your "httpd.conf" file:
    LoadModule webapp_module libexec/mod_webapp.so
    WebAppConnection warpConnection warp localhost:8008
    WebAppDeploy examples warpConnection /examples/
    The next time you restart Apache (after restarting Tomcat, if needed)
    the connection will be established, and all applications you make
    visible via "WebAppDeploy" directives can be accessed through Apache.
    -->
    <!-- Define an Apache-Connector Service -->
    <!--
    <Service name="Tomcat-Apache">
    <Connector className="org.apache.catalina.connector.warp.WarpConnector"
    port="8008" minProcessors="5" maxProcessors="75"
    enableLookups="true" appBase="webapps"
    acceptCount="10" debug="0"/>
    <Engine className="org.apache.catalina.connector.warp.WarpEngine"
    name="Apache" debug="0">
    <Logger className="org.apache.catalina.logger.FileLogger"
    prefix="apache_log." suffix=".txt"
    timestamp="true"/>
    <Realm className="org.apache.catalina.realm.MemoryRealm" />
    </Engine>
    </Service>
    -->
    </Server>
    Pleas4 help!!!

    you have your driver jar in Tomcat\common\lib?
    if so, check your classpath, it could be that.

  • Error in Setting Auto Start for Oracle DB on Sun Solaris 10

    Hi Gurus,
    I am trying to set my DB to auto start when server reboots. Fllowing is my setting and the error. The issue is that the DB starts but LISTENER is not running...
    Please please help me...
    This is what I used for setting the auto start.
    Thanks,
    Jayant
    SETTING:
    =======
    #!/sbin/sh
    #Match ORACLE_HOME with whatever is in ~oracle/.profile!!!
    ORACLE_HOME=<whatever is Orcale home is>
    case $1 in
    start)
    su - oracle -c $ORACLE_HOME/bin/dbstart
    su - oracle -c "$ORACLE_HOME/bin/lsnrctl start"
    exit 0
    stop)
    su - oracle -c "$ORACLE_HOME/bin/lsnrctl stop"
    su - oracle -c $ORACLE_HOME/bin/dbshut
    esac
    You're not done yet! You now have to dl
    ln -s ../init.d/oracle /etc/rc3.d/S95oracle
    ln -s ../init.d/oracle /etc/rc0.d/K15oracle
    chmod 0755 /etc/init.d/oracle
    ERROR:
    ======
    LSNRCTL for Solaris: Version 10.2.0.1.0 - Production on 02-DEC-2006 10:09:24
    Copyright (c) 1991, 2005, Oracle. All rights reserved.
    Message 1070 not found; No message file for product=network, facility=TNSTNS-12545: Message 12545 not found; No message file for product=network, facility=TNS
    TNS-12560: Message 12560 not found; No message file for product=network, facility=TNS
    TNS-00515: Message 515 not found; No message file for product=network, facility=TNS
    Solaris Error: 2: No such file or directory
    root@zngds1gk #

    Bingo.... I got it.
    Thanks for your hint about the ./.profile. I was setting env variables in .cshrc file and my default shell for "oracle" user was sh.
    Then I changed the default shell for oracle user to csh and viola..... it works.
    root@zngds1gk # su - oracle
    $ id
    uid=100(oracle) gid=101(dba)
    $ setenv
    HOME=/space/oracle
    PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
    LOGNAME=oracle
    HZ=100
    TERM=xterm
    SHELL=/bin/sh
    $ exit
    root@zngds1gk # usermod -u 100 -s /bin/csh oracle
    root@zngds1gk # su - oracle
    zngds1gk%
    zngds1gk% setenv
    HOME=/space/oracle
    PATH=/space/oracle/app/oracle/product/10.2.0/Db_2/bin:/usr/bin:
    LOGNAME=oracle
    HZ=100
    TERM=xterm
    SHELL=/bin/csh
    zngds1gk% cat .cshrc
    umask 022
    setenv ORACLE_BASE /space/oracle/app/oracle
    setenv ORACLE_SID adm
    setenv DISPLAY 47.102.212.108:0.0
    setenv ORACLE_HOME /space/oracle/app/oracle/product/10.2.0/Db_2
    setenv PATH /space/oracle/app/oracle/product/10.2.0/Db_2/bin:$PATH
    And now it works...
    Thanks.
    ~Jayant

Maybe you are looking for

  • Calling a RFC using connection pool

    Can I use connection pool to call a RFC from my R3? I'm using SAP Enterprise Connector but I don't want to pass user/password hardcoded. Thanks in advance.

  • Downloads disappeared from Dock. How can I re-establish ?

    Downloads suddenly disappeared from the Dock. Everytime I download now, it just stays within the download of the window, instead of going to the icon i had on Dock. Any way I can easily set this back ?

  • Prob in Career and Job in ESS

    Hi, I am facing a prob in Career and Job in ESS.i am not able to run any of its iviews in the backend.I do not have E-Recruit 3.0 installed in my server. According to note 766578, i can use some of the services of career and jod by adding tc to the a

  • My mails got lost , how do i recover them

    my mails and accounts have lost , is there any way i can recover as i have not taken backup .....

  • Multiple statements in a preparestatement function of Connection object?

    hi, is it possible to have multiple statements prepared and executed at one go? such as; PreparedStatement stmt = conn.prepareStatement("SET ISOLATION TO DIRTY READ SELECT * FROM " + srcTable); im trying to set the isolation to dirty read, currently