Did you install TC as a service when you installed TC? Ie did you "tick" the
bax that said "NT Service (NT/2k/XP only)".

If you didn't then uninstall, then reinstall and "tick" that box. But to
find out if you have go to Start > Control Panel > Admin Tools > Services -
then look through the list for something that looks like "Apache Tomcat 4.1"

If you still can't figure this out (service), then just stick with the
scripts you all ready have.

As for your log4j issue, I think it is one of those really obvious errors
that you don't look at because "it should be correct" type of error, u know
the one I mean, and I can't advise anything else, cause it's working here on
my machine with lg4j.jar in the <TC>/commons/lib dir.

Nicholas Orr


-----Original Message-----
From: Ronnie Choo [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, 4 March 2003 2:53 PM
To: Log4J Users List
Subject: Re: Really Newbie Problem



Yup, everything works on my desktop but log4j fails to initialize on my
laptop using the same settings as my desktop. I have only ever used one
version of Log4j and that's 1.1.3. What I don't understand is why it can't
work on my laptop when all installations are the same and the config files
are in the same locations.

Following your suggestions,
I tried typing the following where I usually type "startup":

    D:\Studies\Systems Implementation II\Codes\84105_Ex1>net start "Apache
Tomcat 4.1"

The system returns to me:

    The service name is invalid.

I looked at the help msg and this is what it said:
    EXPLANATION

    You tried to start a service that is not configured on this system.

    ACTION

    Check the spelling of the service name or check the configuration
information for the service using the Services option from Server Manager.

Sorry, I'm not really familiar with the XP Pro OS, or any other OS in fact,
so I don't know where to configure this.


----- Original Message -----
From: "Nicholas Orr" <[EMAIL PROTECTED]>
To: "'Log4J Users List'" <[EMAIL PROTECTED]>
Sent: Tuesday, March 04, 2003 7:19 AM
Subject: RE: Really Newbie Problem


> Hey, do a search for your log4j*.jar file and see exactly where it is, 
> delete all of them. Then copy log4j*.jar to <tomcat>/common/lib.
>
> May help may not, everything looks good in your script. Haven't you 
> all ready said you got it working? It would be a good idea to make 
> sure there is only 1 log4j*.jar file, so when the next version comes 
> out you *know* which version your using, not what you *think* your 
> using.
>
> Also how come you not running it as a service, you said you had XP on 
> your desktop, I assume ur running 2k or XP on ur laptop, makes things 
> a lot easier I reckon, batch files only need to look like this
> *********
> Start.bat
> *********
> net start "Apache Tomcat 4.1"
>
> *********
> Start.bat
> *********
> net stop "Apache Tomcat 4.1"
>
> *********
> Restart.bat
> *********
> net stop "Apache Tomcat 4.1"
> net start "Apache Tomcat 4.1"
>
> Makes sense to me. Oh well . . .
>
> Nicholas Orr
>
> -----Original Message-----
> From: Ronnie [mailto:[EMAIL PROTECTED]
> Sent: Monday, 3 March 2003 8:07 PM
> To: Log4J Users List
> Subject: Re: Really Newbie Problem
>
>
> Here's my batch file which sets the paths.
>
> set JAVA_HOME=C:\jdk1.3.1_02
> set CATALINA_HOME=c:\jakarta-tomcat-4.0.1
> set ANT_HOME=c:\jakarta-ant-1.4.1
> set JBOSS_HOME=c:\JBoss-2.4.4
> set
>
path=%JAVA_HOME%\bin;%CATALINA_HOME%\bin;%ANT_HOME%\bin;C:\WINDOWS\system32;
> C:\WINDOWS;C:\WINDOWS\system32\WBEM
>
> The locations of the intallations are confirmed to be correct umpteen
times
> when I was trying to troubleshoot. Everything works EXCEPT log4j... 
> I'm using Log4j-1.1.3 on both my laptop and my desktop...
>
>
> **********************************************************************
> The information contained in this e-mail is confidential and is 
> intended only for the use of the addressee(s). If you receive this 
> e-mail in error, any use, distribution or copying of this e-mail is 
> not permitted. You are requested to forward unwanted e-mail and 
> address any problems to the MIM Holdings Limited Support Centre.
> For general enquires: ++61 7 3833 8000
> Support Centre e-mail: [EMAIL PROTECTED]
> Support Centre phone:  Australia 1800500646
>         International ++61 7 38338042
> **********************************************************************
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>

__________________________________________________
Do You Yahoo!?
Promote your business from just $5 a month! http://sg.biztools.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to