logging-log4j-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nicholas Orr <Nicholas....@mim.com.au>
Subject RE: Really Newbie Problem
Date Tue, 04 Mar 2003 07:38:31 GMT
Yeah it is, and Ronnie is running windowze . . . . 

-----Original Message-----
From: Martin [mailto:mgainty@hotmail.com] 
Sent: Tuesday, 4 March 2003 3:04 PM
To: Log4J Users List
Subject: Re: Really Newbie Problem


net start is specific to Windoze
try
go to MenuBar
programs
Apache HTTP Server 2.0.44
Control Apache Server
Start Apache in Console

or drop to command line
SYSTEM_DRIVE=(location of drive where system files are kept) "\Program
Files\Apache Group\Apache2\bin\Apache.exe" -w -f "\Program Files\Apache
Group\Apache2\conf\httpd.conf" -d "\Program Files\Apache Group\Apache2\."

----- Original Message -----
From: "Ronnie Choo" <lormee2001@yahoo.com.sg>
To: "Log4J Users List" <log4j-user@jakarta.apache.org>
Sent: Monday, March 03, 2003 9:53 PM
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" <Nicholas.Orr@mim.com.au>
> To: "'Log4J Users List'" <log4j-user@jakarta.apache.org>
> 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:lormee2001@yahoo.com.sg]
> > 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: supportcentre@mim.com.au
> > Support Centre phone:  Australia 1800500646
> >         International ++61 7 38338042
> > **********************************************************************
> >
> >
> > --------------------------------------------------------------------
> > -
> > To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> > For additional commands, e-mail: log4j-user-help@jakarta.apache.org
> >
>
> __________________________________________________
> Do You Yahoo!?
> Promote your business from just $5 a month! 
> http://sg.biztools.yahoo.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
> For additional commands, e-mail: log4j-user-help@jakarta.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org

---------------------------------------------------------------------
To unsubscribe, e-mail: log4j-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: log4j-user-help@jakarta.apache.org


Mime
View raw message