Run tomcat 4.0.6 on linux

hi,
Who do I do for tomcat begins when the computer is initiating?, in other words. Who does TOMCAT is initiating as linux's demons?

The services "loader" is based off of the Unix System V "init" scheme. If you look in /etc/rc.d/init, you'll see a bunch of shell scripts - those all start the system services (e.g. daemons). Find a simple one and "clone" it, replacing the guts with the appropriate commands to start Tomcat. And, in a console or terminal window, do "man chkconfig".
Be very careful dorking around in this area - you really need to know what you're doing or you could accidentally disable something that you really need.
If you're lost by this, I'd suggest getting a Linux/Unix primer...

Similar Messages

  • Java.lang.UnsatisfiedLinkError: running tomcat on java headless?

    Dear all,
    I'm using the iText library to generate pdfs from a database on the fly. Whenever I use some of it's features that require simple things like java.awt.Color, I get an java.lang.UnsatisfiedLinkError as shown:
    java.lang.UnsatisfiedLinkError: /usr/lib/jvm/java-1.5.0-sun-1.5.0.18/jre/lib/amd64/libawt.so: libmlib_image.so: cannot open shared object file: No such file or directory
            at java.lang.ClassLoader$NativeLibrary.load(Native Method)
            at java.lang.ClassLoader.loadLibrary0(ClassLoader.java:1751)
            at java.lang.ClassLoader.loadLibrary(ClassLoader.java:1668)
            at java.lang.Runtime.loadLibrary0(Runtime.java:822)
            at java.lang.System.loadLibrary(System.java:993)
            at sun.security.action.LoadLibraryAction.run(LoadLibraryAction.java:50)
            at java.security.AccessController.doPrivileged(Native Method)
            at java.awt.Toolkit.loadLibraries(Toolkit.java:1509)
            at java.awt.Toolkit.<clinit>(Toolkit.java:1530)
            at java.awt.Color.<clinit>(Color.java:250)
            at tablereport.processRequest(tablereport.java:55)
            at tablereport.doGet(tablereport.java:130)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
            at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:269)
            at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:188)
            at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
            at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:172)
            at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
            at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:117)
            at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
            at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:174)
            at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:874)
            at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:665)
            at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:528)
            at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:81)
            at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:689)
            at java.lang.Thread.run(Thread.java:595)After some research and verifying that libawt.so physically exists I read somewhere that whenever java is installed no a linux box without x (in my case it's a remote vps) java omits certain graphics related libraries like AWT (naturally).
    I also read that you can run java headless to avoid the dependencies to X. Now is there a way to run tomcat (or add variables to tomcat's startup.sh) to avoid having these dependencies?
    Thanks for your help,
    William

    [Googling the exception|http://www.google.com/search?q=java.lang.UnsatisfiedLinkError+at+java.awt.Color.%3Cclinit%3E%28Color.java%3A250%29+tomcat] learns me it's a bug in the mentioned Tomcat + JDK combo.
    Upgrade to the latest if possible.

  • JVM SIGSEGV error running Java 1.5.0_01 on linux

    Three times last week we had the JVM come down hard with a SISSEGV error running our web application. Each crash was on a different machine. The offending thread was always in libnet.so shared library handling either a getHostByAddr() or getLocalHostName() call. I included a portion of one of the JVM dumps below. In the other two cases we are in either an Oracle JDBC driver or a SQL Server JDBC driver (tds).
    We are not able to issolate and reproduce this problem at will. This is happening in our QA environment and we are planning to go to production soon. Any ideas or information would be most helpful.
    We've just decided to upgrade to Java 1.5.0_04 in the hope it might help this problem. Too early to tell if this is making a difference or not.
    The JVM is running Tomcat 5.5.9.
    OS:Red Hat Enterprise Linux AS release 3 (Taroon Update 2)
    vm_info: Java HotSpot(TM) Server VM (1.5.0_01-b08) for linux-x86, built on Dec 6 2004 19:33:50 by java_re with gcc 3.2.1-7a (J2SE release)
    Thanks for your attention.
    --Brad
    first part of jvm dump follows:
    # An unexpected error has been detected by HotSpot Virtual Machine:
    # SIGSEGV (0xb) at pc=0x007737b9, pid=16179, tid=122411952
    # Java VM: Java HotSpot(TM) Server VM (1.5.0_01-b08 mixed mode)
    # Problematic frame:
    # C [libc.so.6+0x797b9] memchr+0x29
    --------------- T H R E A D ---------------
    Current thread (0xb192d0f0): JavaThread "http-80-Processor25" daemon [_thread_in_native, id=16341]
    siginfo:si_signo=11, si_errno=0, si_code=1, si_addr=0xb0bfe0c2
    Registers:
    EAX=0xb0bfe0c2, EBX=0x0082ea98, ECX=0x00000a0a, EDX=0x0a0a0a0a
    ESP=0x074bcae8, EBP=0x074bcb14, ESI=0x00000036, EDI=0x000003e7
    EIP=0x007737b9, CR2=0xb0bfe0c2, EFLAGS=0x00010202
    Top of Stack: (sp=0x074bcae8)
    0x074bcae8: 000003e7 00000036 0075ae2b b0bfe0c2
    0x074bcaf8: 0000000a 00000036 b0bff038 074bcc48
    0x074bcb08: 0082ea98 b2f87428 074bcc48 074bcb38
    0x074bcb18: 0075adb3 b2f87428 074bcc48 000003e7
    0x074bcb28: 0000000a 00000001 00000000 0082ea98
    0x074bcb38: 074bcb64 00763ebb b2f87428 074bcc48
    0x074bcb48: 000003e7 0000000a 00000001 00000000
    0x074bcb58: 0011c3a4 074bcc48 000003e8 074bcbb0
    Instructions: (pc=0x007737b9)
    0x007737a9: 89 d1 c1 e2 10 66 89 ca a8 03 0f 84 cd 00 00 00
    0x007737b9: 38 10 0f 84 67 01 00 00 40 4e 0f 84 3f 01 00 00
    Stack: [0x0747d000,0x074be000), sp=0x074bcae8, free space=254k
    Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code)
    C [libc.so.6+0x797b9] memchr+0x29
    C [libc.so.6+0x60db3] IOgetline+0x43
    C [libc.so.6+0x69ebb] fgets_unlocked+0x5b
    C [libnss_files.so.2+0x4b14] nssfiles_gethostbyaddr_r+0x184
    C [libc.so.6+0xef7ed] gethostbyaddr_r+0xdd
    C [libnet.so+0x5321] Java_java_net_Inet4AddressImpl_getHostByAddr+0x10d
    j java.net.Inet4AddressImpl.getHostByAddr([B)Ljava/lang/String;+0
    j java.net.InetAddress$1.getHostByAddr([B)Ljava/lang/String;+4
    j java.net.InetAddress.getHostFromNameService(Ljava/net/InetAddress;Z)Ljava/lang/String;+7
    j java.net.InetAddress.getHostName(Z)Ljava/lang/String;+10
    j java.net.InetAddress.getHostName()Ljava/lang/String;+2
    j org.apache.coyote.http11.Http11Processor.parseHost(Lorg/apache/tomcat/util/buf/MessageBytes;)V+38
    j org.apache.coyote.http11.Http11Processor.prepareRequest()V+794

    So, we started getting this problem again in production (on 1.5.0_06, even).
    Following up on Dan Paum's report, I dug around a little deeper:
    ~/java/old/java/net$ javap Inet4AddressImpl
    Compiled from "Inet4AddressImpl.java"
    class java.net.Inet4AddressImpl extends java.lang.Object implements java.net.InetAddressImpl{
    java.net.Inet4AddressImpl();
    public native java.lang.String getLocalHostName() throws java.net.UnknownHostException;
    public native byte[][] lookupAllHostAddr(java.lang.String) throws java.net.UnknownHostException;
    public native java.lang.String getHostByAddr(byte[]) throws java.net.UnknownHostException;
    public synchronized java.net.InetAddress anyLocalAddress();
    public synchronized java.net.InetAddress loopbackAddress();
    public boolean isReachable(java.net.InetAddress, int, java.net.NetworkInterface, int) throws java.io.IOException;
    Both anyLocalAddress() and loopbackAddress() are synchronized, but not getLocalHostName(). The native code for getLocalHostName() calls gethostbyaddr_r in lieu of synchronization. gethostbyaddr_r is a non-standard, non-portable call that, judging from a brief trawl through Google, has historically been problematic for multi-platform code.
    I'm guessing this bug is another such problem.
    I extracted Inet4AddressImpl.java from src.zip in the JDK, changed the declaration, compiled, and "updated" the modified version into lib/rt.jar:
    ~/java/new/java/net$ javap Inet4AddressImpl
    Compiled from "Inet4AddressImpl.java"
    class java.net.Inet4AddressImpl extends java.lang.Object implements java.net.InetAddressImpl{
    java.net.Inet4AddressImpl();
    public synchronized native java.lang.String getLocalHostName() throws java.net.UnknownHostException;
    public native byte[][] lookupAllHostAddr(java.lang.String) throws java.net.UnknownHostException;
    public native java.lang.String getHostByAddr(byte[]) throws java.net.UnknownHostException;
    public synchronized java.net.InetAddress anyLocalAddress();
    public synchronized java.net.InetAddress loopbackAddress();
    public boolean isReachable(java.net.InetAddress, int, java.net.NetworkInterface, int) throws java.io.IOException;
    So far, so good. I will stress test this over the next few days, and if it works, I'll open a bug in the bug database to get this fixed.

  • Running Tomcat from a java program

    I'm writing a program that shall run Tomcat from the program itself. The eacy way would be to just call org.apache.catalina.startup.Bootstrap.main(String[]) in a new thread, but that gives only a little information to the program about the state of the server. Actually I would only know when the server is told to start (just before the main method is called), and when the server had stopped (just after the main method).
    I have browsed the Catalina API documentation and source code for hours, but the only solution I have gotten, writes the standard startup text:
    Starting service Tomcat-Standalone
    Apache Tomcat/4.0.4
    Starting service Tomcat-Apache
    Apache Tomcat/4.0.4If I could get that to work, I would could add a LifecycleListener, and get all the info. I need.
    The essence of the code I use is this:
    CatalinaService cs = new org.apache.catalina.startup.CatalinaService();
    Server s = new StandardServer();
    StandardService stdService = new org.apache.catalina.core.StandardService();
    s.addService(stdService);
    cs.setServer(s);
    cs.process(new String[]{"start"});but the following also produce a simmilar result:
    BootstrapService b = new org.apache.catalina.startup.BootstrapService();
    b.load(new TomcatLoader(),null);
    b.start();A dirty solution would be to copy the code form Bootstrap.main(String[]) and add a few lines, but I really dosn't like that. It would be a nightmare to maintain, primiarry because I would loose the functionallity of Catalinas class loader (where a lof of classes is loaded).
    Does anybody know how I can get Tomcat to run, so I still get my info. and don't use any dirty solutions?

    Check out the main method in the source code of class org.apache.catalina.startup.Embedded
    It should help you.
    Also check out this article
    http://www.onjava.com/pub/a/onjava/2002/04/03/tomcat.html

  • Problems running tomcat on win XP

    Hi!
    I've just downloaded and installed the JWSDP on Windows XP Professional, but when I try to use Tomcat it starts but then terminates instantly. Can anyone help me with this?
    thanks, Ylva

    Are you sure its terminating? You will not get an open window when you run tomcat, just a minimised toolbar window.
    If it is definitely terminating, have a look at the log file to see what error (if any) is produced - JWSDP_HOME\logs\catalina.out
    Also make sure that you are not running any other application which might be using port 8080.
    //Daniel.

  • Re: Using already running Tomcat server for development.

    Hi Nick,
    Yes, you can use existing Tomcat Server for debugging app developed with
    NitroX. And you can refer to Help > Help Contents > NitroX User Guide >
    NitroX Tour > Running and debugging the application.
    We do support Tomcat 4.0.x to Tomcat 5.0.x. If you need any further
    assistance please get back to us.
    Thanks
    M7 Support
    "Nick Mulder" <[email protected]> wrote in message
    news:41d9f379$[email protected]..
    Sorry if this has been covered anywhere else.Just wondering if you can use an existing tomcat server for debugging
    webapps being developed in NitroX. I have a non dedicated server a
    development server. Up until purchasing NitroX I have been using ant build
    files to compile and re-deploy my apps into the running tomcat server.
    Just wondering if I can do something similar thru NitroX and Eclipse.
    Forgive me if I am missing something obvious, but I am new to eclipse.
    Thanks,
    Nick Mulder

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

  • Do I need to redeploy and run tomcat every time I�m changing something?

    Guys,
    I�m using MyEclipse as the IDE to develop struts application. I am a newbie to this topic (but doing just fine)
    Anyway, I do this:
    I write my code, deploy it, run Tomcat and than I click the site to see the results.
    sometime I am changing the words or the code and than want to see the changes, for this, and this is the point I think I do wrong, I STOP Tomcat, Redeploy, START tomcat and refer back to the site (imagine the how long it takes)
    Is there a better way only to redeploy so everything will take effect immediately?
    Why when I change something in the AppliatinResources it doesn't kick in?
    Thanks

    I use MyEclipse and Tomcat and changes are reflected within a few seconds after making changes without redeploying.
    I have noticed that when adding servlets and modifying servlets, it takes a few seconds for changes to show while the context reloads.

  • Using already running Tomcat server for development.

    Sorry if this has been covered anywhere else.
    Just wondering if you can use an existing tomcat server for debugging
    webapps being developed in NitroX. I have a non dedicated server a
    development server. Up until purchasing NitroX I have been using ant build
    files to compile and re-deploy my apps into the running tomcat server. Just
    wondering if I can do something similar thru NitroX and Eclipse. Forgive me
    if I am missing something obvious, but I am new to eclipse.
    Thanks,
    Nick Mulder

    Take a look at these links: http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    http://www.keyboardsamurais.de/2004/01/15/tomcat_tutorial_helloworld_for_complete_fools_-_english/
    http://www-128.ibm.com/developerworks/opensource/library/os-ectom/?ca=dgr-lnxw16EclipsTomcat
    I've found going through tutorials is a proven, quick way of getting up to speed with new tools and configurations.
    HTH,
    James

  • Eroor in eclipse when i have run TOMCAT in debuge mode web service debuging

    hello all,
    i have a serious problem with debug my web service. I set local variable in eclipse (-Xdebug -Xnoagent -Djava.compiler=NONE -Xrunjdwp:transport=dt_socket,server=y,suspend=y,address=8000). And now if i run TOMCAT in normal mode all worked fine and i run remote java application fine, but if i run TOMCAT in debug mode, eclipse in console return error:
    "Error occurred during initialization of VM
    agent library failed to init: jdwp
    ERROR: Cannot load this JVM TI agent twice, check your java command line for duplicate jdwp options."
    If anyone have this problem please tell me how to resolved it.
    Thank for help.

    Eclipse is kind of a competing product so this is not the best place to ask the question. With that most will be nice enough to lend a hand. I suggest ensuring that all other instances of tomcat are stopped then try again. In the Debug perspective ensure there are no servers running with the same name as the one you are attempting to use. If all else fails ensure there are no tomcat process running if they are kill them. Finally, if you cant get it to work reboot. If still no good the Eclipse might be a better place to go.

  • Running Tomcat as a service

    I have two questions about running Tomcat as a service.
    First, when I try to install and start tomcat 3.3.2 with the java sdk 1.4.0 using jk_nt_service, the service won't start. When I execute the following command, jk_nt_service -S Tomcat-3.3-2-Dev, I get a response of Tomcat-3.3.2-Dev failed to start. When I execute the following command, net start Tomcat-3.3.2-Dev, I get a system error 1067 response. Does anyone know how to get around this error?
    Second, if we try to run Tomcat 4.1.27 as a service, we get very slow response compared to running startup.bat in the bin directory. Does anyone know why this is and what could be done to improve the performance?
    Jim Field

    I don't know the answer to the first question.
    Regarding the second one: when you say "slow response", do you mean for every request you send to the service compared to sending the same request to Tomcat started with startup.bat, or are you referring to just starting the service?
    Have you measured the response time for a number of requests to both the service and script-started Tomcat, or is this a subjective judgement? MOD

  • JAVA_HOME running tomcat

    hi!
    i recently downloaded the Java Web Services Developer pack. the installation went fine, howeve when i try to run tomcat it gives me
    Bad command or file name
    The JAVA_HOME environment variable is not defined
    This environment variable is needed to run this program
    i have in my autoexec
    SET PATH=c:\"program files"\j2sdk\bin;c:\windows;c:\windows\command
    SET JAVA_HOME=c:\"program files"\j2sdk
    on a friend's recommendation i have also tried
    SET JAVA_HOME=c:\"program files"\j2sdk\jre
    could someone help please.
    thanks

    my sdk is in c:\progra~1\j2sdk
    i have tried
    SET JAVA_HOME=c:\PROGRA~1\j2sdk
    SET PATH=%JAVA_HOME%;c:\windows;c:\windows\command
    when i then double click startup.bat, this gives me
    Bad command or file name
    Out of environment space
    Out of environment space
    The JWSDP_HOME environment variable is not defined
    This environment variable is needed to run this program
    File not found
    to see if JWSDP_HOME variable is defined
    i then did the right-click properties thing and changed memory to 2048 and then run the shortcut it placed
    this gave me
    Bad command or file name
    Bad command or file name
    i then did,
    SET JAVA_HOME=c:\PROGRA~1\j2sdk
    SET JWSDP_HOME=c:\PROGRA~1\jwsdp
    SET PATH=%JWSDP_HOME%;%JAVA_HOME%;c:\windows;c:\windows\command
    this gave me,
    double clicking startup.bat
    Bad command or file name
    Out of environment space
    Out of environment space
    The JWSDP_HOME environment variable is not defined
    This environment variable is needed to run this program
    File not found
    to see if JWSDP_HOME variable is defined
    double clicking startup.pif
    Bad command or file name
    Bad command or file name
    and excecuting startup.bat from commandline,
    Bad command or file name
    Out of environment space
    Error: com.sun.jwsdp.launcher.JWSDPLaunchFilter filter class encountered a probl
    em
    and executing startup.pif from command line
    Bad command or file name
    i'm at my wits end now. could some one please help. my sdk and jwsdp are installed in the right directories.
    thanks

  • Running Tomcat 4.0.1 on RH7.0

    I try to run Tomcat 4.0.1 on RH7.0,
    [root@backup bin]# ./startup.sh
    but I get this error,
    Guessing CATALINA_HOME from catalina.sh to ./..
    Setting CATALINA_HOME to ./..
    You must set JAVA_HOME to point at your Java Development Kit installation
    then I set JAVA_HOME, with this command "set JAVA_HOME=/jdk1.3"
    and I still get the same error....
    Any idea what is happening?
    /snricek

    I've been execute the command to set JAVA_HOME & CATALINA_HOME.
    This is the comment I've get, after I execute "startup.sh" :
    Using CLASSPATH: /jakarta-tomcat-4.0.1/bin/bootstrap.jar:/jdk1.3/lib/tools.jar
    Using CATALINA_BASE: /jakarta-tomcat-4.0.1
    Using CATALINA_HOME: /jakarta-tomcat-4.0.1
    Using JAVA_HOME: /jdk1.3
    and I get nothing, when I tried to show an index.html:
    http://myserver:8080/index.html
    should I configure "server.xml" file ?

  • JSP problem when running Tomcat in Eclipse

    Hello,
    Eclipse newbie here.
    I just started using Eclipse and I have installed the Tomcat plugin. When I run Tomcat within Eclipse, http://localhost:8080 works fine, but when I tried to access a JSP that I've created, I'm getting this error:
    HTTP Status 404 - /JSPDemo.jsp
    type Status report
    message /JSPDemo.jsp
    description The requested resource (/JSPDemo.jsp) is not available.
    Using Eclipse version 3.1.2
    Tomcat Plugin = sysdeo 3.1
    Tomcat version 5.0.28
    JDK + JRE = 1.4.2_08
    I was just following this tutorial:
    http://plato.acadiau.ca/courses/comp/dsilver/2513/EclipseAndTomcatTutorial/
    Thanks in advance.

    why not use Web Tools Project of Eclipse, it comes with all plugins necessary for J2EE and Web development
    http://www.eclipse.org/webtools/
    it's much easier to use

  • How to run tomcat inside eclipse

    hello
    I try to run tomcat inside eclipse with sysdo ... plugin
    info.
    eclipse 3.0
    tomcat 5.0
    J2sdk 6.0
    I become an Exception
    SEVERE: Error initializing endpoint
    java.net.SocketException: Invalid argument: listen failed
         at java.net.PlainSocketImpl.socketListen(Native Method)
         at java.net.PlainSocketImpl.listen(Unknown Source)
         at java.net.ServerSocket.bind(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at java.net.ServerSocket.<init>(Unknown Source)
         at org.apache.tomcat.util.net.DefaultServerSocketFactory.createSocket(DefaultServerSocketFactory.java:49)
         at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:259)
         at org.apache.coyote.http11.Http11Protocol.init(Http11Protocol.java:137)
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1429)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)
    22-Jun-2006 11:29:23 org.apache.catalina.startup.Catalina load
    SEVERE: Catalina.start
    LifecycleException:  Protocol handler initialization failed: java.net.SocketException: Invalid argument: listen failed
         at org.apache.coyote.tomcat5.CoyoteConnector.initialize(CoyoteConnector.java:1431)
         at org.apache.catalina.core.StandardService.initialize(StandardService.java:609)
         at org.apache.catalina.core.StandardServer.initialize(StandardServer.java:2384)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:507)
         at org.apache.catalina.startup.Catalina.load(Catalina.java:528)
         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
         at java.lang.reflect.Method.invoke(Unknown Source)
         at org.apache.catalina.startup.Bootstrap.load(Bootstrap.java:250)
         at org.apache.catalina.startup.Bootstrap.main(Bootstrap.java:424)I run tomcat outside eclipse as Win service it works fine
    what is wrong

    please no body in this world to help me ????

  • Run jobs in CRON in redhat linux

    I am a Novice DBA and have followed Google pages to run jobs in CRON in redhat linux  But in vain, I could Not jobs in cron.  Can any one provide me step by step config to run jobs in cron

    Good documentation how to automate tasks using cron is indeed a bit difficult to find and much information I've seen out there on the web is incomplete. And unfortunately, it is difficult for a newbie or student to determine.
    In addition to the information already provided by the previous resopnes, the product documentation is usually a good start. For example: https://linux.oracle.com/documentation/
    The information about cron is in the Deployment guide, for instance chapter 20 of
    https://linux.oracle.com/documentation/OL6/Red_Hat_Enterprise_Linux-6-Deployment_Guide-en-US.pdf
    To my experience, many questions or problems releated to cron can be avoided if the user keeps the following in mind:
    Cron does not perform a user login and only knows a minimum OS or user environment. For instance, it only knows about /usr/bin:/sbin:/bin PATH environment. If you wish to schedule a cron job using a shell command script that does anything Oracle database related, you will have to set the appropriate environment variables. Simply put the following header into your script:
    ORACLE_SID=your_oracle_SID
    ORAENV_ASK=NO
    . oraenv -s
    Also keep in mind that many programs produce output to stdout. Cron, by default, mails such output to the user account running the cron task.

Maybe you are looking for

  • FAQ's on Portal Run Time

    Hi, Can any one help me out in providing the FAQ's on Portal Run Time. Thanks, Ramesh

  • Hookup MacBook to Toshiba LCD

    I'm trying to hookup my MacBook to our HDTV. On the back of the TV, there is a slot for a SVGA/VGA terminal. I have a cable to run from the TV to the iBook along with a Mini DVI to VGA adapter. After the cables are hooked up and the MacBook is powere

  • Retrieve the netboot GUID value from a Hyper-V vm

    I've looked through the pshyperv modules but can't find what I need there so I am hoping that you all can help me.  After creating a new VM, I need to assign it's boot GUID to the new pre-staged computer account.  This is NOT the vm GUID, it's the va

  • B2B EDI File Configuration Settings

    Hi All, We are seeing some default values in our EDI files for following Segment elements. Interchange Control Number (100000044) Group Control Number (1044) We are using 4010_850 format. Let us know where to change these default values in B2B consol

  • Why won't PDF files print from the internet on my MacBook Pro?

    I have a MacBook Pro using OS X 10.7.4. I open pdf files at websites but when I try and print them there is no content in the document. The same document on my PC prints without problem. What's the issue?